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