mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 05:43:03 +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:
@@ -30,7 +30,7 @@
|
||||
#include "options.h"
|
||||
|
||||
/* Shorts options. */
|
||||
const char *shortopts = "yvgdhrltknVo:b:p:S:";
|
||||
const char *shortopts = "yvegdhrltknVo:b:p:S:";
|
||||
|
||||
/* Long options. */
|
||||
struct option *longopts = NULL;
|
||||
@@ -102,8 +102,9 @@ const struct option_table_struct option_table[] =
|
||||
the same, the char `-'. */
|
||||
|
||||
/* Output. */
|
||||
{opt_both, "defines", optional_argument, &defines_flag, tok_intopt, 'd'},
|
||||
{opt_both, "verbose", no_argument, &verbose_flag, tok_intopt, 'v'},
|
||||
{opt_both, "defines", optional_argument, &defines_flag, tok_intopt, 'd'},
|
||||
{opt_both, "verbose", no_argument, &verbose_flag, tok_intopt, 'v'},
|
||||
{opt_both, "error-verbose", no_argument,&error_verbose_flag, tok_intopt, 'e'},
|
||||
|
||||
/* Operation modes. */
|
||||
{opt_both, "fixed-output-files", no_argument, &yacc_flag, tok_intopt, 'y'},
|
||||
|
||||
Reference in New Issue
Block a user