mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 21:33:04 +00:00
* src/bison.simple: Remove YYERROR_VERBOSE using.
Use %%error_verbose. (yyparse): Likewise. * src/output.c (prepare): Give its final value. * src/muscle_tab.c (muscle_init): Init new muscle 'error_verbose'. * src/getargs.h: Add its extern declaration. * src/getargs.c (error_verbose_flag): New int. (getargs): Update to catch new case. * src/options.c (option_table): 'error-verbose' is a new option. (shortopts): Update.
This commit is contained in:
@@ -34,6 +34,7 @@ int no_lines_flag = 0;
|
||||
int no_parser_flag = 0;
|
||||
int token_table_flag = 0;
|
||||
int verbose_flag = 0;
|
||||
int error_verbose_flag = 0;
|
||||
int yacc_flag = 0; /* for -y */
|
||||
int graph_flag = 0;
|
||||
int trace_flag = 0;
|
||||
@@ -165,6 +166,10 @@ getargs (int argc, char *argv[])
|
||||
verbose_flag = 1;
|
||||
break;
|
||||
|
||||
case 'e':
|
||||
error_verbose_flag = 1;
|
||||
break;
|
||||
|
||||
case 'S':
|
||||
skeleton = optarg;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user