mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* examples/calc++/test: Use set -x only when VERBOSE.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2005-10-14 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* examples/calc++/test: Use set -x only when VERBOSE.
|
||||
|
||||
2005-10-13 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* NEWS: Bison now warns if it finds a stray `$' or `@' in an action.
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
test -z "$VERBOSE" && {
|
||||
exec > /dev/null 2>&1
|
||||
set -x
|
||||
}
|
||||
|
||||
cat >input <<EOF
|
||||
@@ -21,8 +22,6 @@ d := a + b * c
|
||||
EOF
|
||||
./calc++ input
|
||||
|
||||
set -x
|
||||
echo toto
|
||||
cat >input <<EOF
|
||||
toto := 1
|
||||
toto
|
||||
|
||||
Reference in New Issue
Block a user