mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
* 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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user