* src/getargs.c (statistics_flag): Replace with...

(trace_flag): New.
(longopts): Accept --trace instead of --statistics.
* src/getargs.h, src/options.c: Adjust.
* src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
* src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
This commit is contained in:
Akim Demaille
2001-11-19 10:37:58 +00:00
parent 97db7bd4a1
commit 9bfe901c33
9 changed files with 52 additions and 59 deletions

View File

@@ -24,6 +24,7 @@
do so. */
#include "system.h"
#include "getargs.h"
#include "types.h"
#include "gram.h"
#include "nullable.h"
@@ -47,9 +48,8 @@ set_nullable (void)
char any_tokens;
short *r1;
#ifdef TRACE
fprintf (stderr, "Entering set_nullable\n");
#endif
if (trace_flag)
fprintf (stderr, "Entering set_nullable");
nullable = XCALLOC (char, nvars) - ntokens;