summaryrefslogtreecommitdiff
path: root/tests/sets.at
diff options
context:
space:
mode:
authorAkim Demaille <akim@epita.fr>2002-07-31 19:49:52 +0000
committerAkim Demaille <akim@epita.fr>2002-07-31 19:49:52 +0000
commit273a74fa89392c33ef4912036c290ad47e535da6 (patch)
tree3c66ac05acee7cdfa64436721167d16446098174 /tests/sets.at
parent2ed0e35f8662e46abf2d4b591453c82a66581d99 (diff)
downloadbison-273a74fa89392c33ef4912036c290ad47e535da6.tar.gz
Let --trace have arguments.
* src/getargs.h (enum trace_e): New. * src/getargs.c (trace_args, trace_types, trace_argmatch): New. (long_options, short_options): --trace/-T takes an optional argument. Change all the uses of trace_flag to reflect the new flags. * tests/sets.at (Firsts, Nullable, Broken Closure): Use --trace=sets. Strengthen `stage' portability. * m4/stage.m4 (BISON_PREREQ_STAGE): New. * configure.in: Use it. Don't check for malloc.h and sys/times.h. * src/system.h: Include them when appropriate. * src/main.c (stage): Compile only when mallinfo, struct mallinfo, times and struct tms are available.
Diffstat (limited to 'tests/sets.at')
-rw-r--r--tests/sets.at6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/sets.at b/tests/sets.at
index bd194ead..373271dc 100644
--- a/tests/sets.at
+++ b/tests/sets.at
@@ -78,7 +78,7 @@ AT_DATA([[input.y]],
e: 'e' | /* Nothing */;
]])
-AT_CHECK([[bison --trace input.y]], [], [], [stderr])
+AT_CHECK([[bison --trace=sets input.y]], [], [], [stderr])
AT_EXTRACT_SETS([stderr], [sets])
AT_CHECK([[cat sets]], [],
[[DERIVES
@@ -162,7 +162,7 @@ g: h;
h: 'h';
]])
-AT_CHECK([[bison --trace input.y]], [], [], [stderr])
+AT_CHECK([[bison --trace=sets input.y]], [], [], [stderr])
AT_CHECK([[sed -n 's/[ ]*$//;/^RTC: Firsts Output BEGIN/,/^RTC: Firsts Output END/p' stderr]], [],
[[RTC: Firsts Output BEGIN
@@ -208,7 +208,7 @@ exp:
;
]])
-AT_CHECK([[bison --trace input.y]], [], [], [stderr])
+AT_CHECK([[bison --trace=sets input.y]], [], [], [stderr])
AT_EXTRACT_SETS([stderr], [sets])
AT_CHECK([[cat sets]], [],
[[DERIVES