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

(trace_flag): New.
(longopts): Accept --trace instead of --statistics.
* src/getargs.h: 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 09:21:26 +00:00
parent 83bcf86639
commit 3b2925a060
7 changed files with 42 additions and 49 deletions

View File

@@ -32,9 +32,9 @@ int no_lines_flag = 0;
int no_parser_flag = 0;
int token_table_flag = 0;
int verbose_flag = 0;
int statistics_flag = 0;
int yacc_flag = 0; /* for -y */
int graph_flag = 0;
int trace_flag = 0;
const char *skeleton = NULL;
@@ -68,7 +68,7 @@ static struct option longopts[] =
{"graph", optional_argument, 0, 'g'},
/* Hidden. */
{"statistics", no_argument, &statistics_flag, 1},
{"trace", no_argument, &trace_flag, 1},
{0, 0, 0, 0}
};