* 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:
Marc Autret
2001-11-27 20:30:13 +00:00
parent e0327bc8b4
commit eeeb962b2f
8 changed files with 36 additions and 13 deletions

View File

@@ -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'},