* src/bison.simple [YYERROR_VERBOSE]: Restore backward compatibility.

This commit is contained in:
Marc Autret
2001-12-15 18:38:57 +00:00
parent bcb05e75f5
commit a79986b830
2 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2001-12-15 Marc Autret <autret_m@epita.fr>
* src/bison.simple [YYERROR_VERBOSE]: Restore backward compatibility.
2001-12-15 Marc Autret <autret_m@epita.fr>
* src/output.c (output_gram): Keep track of the hairy one.

View File

@@ -46,8 +46,12 @@
#endif
/* Enabling verbose error messages. */
#undef YYERROR_VERBOSE
#define YYERROR_VERBOSE %%error-verbose
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE %%error-verbose
#endif
/* If name_prefix is specify substitute the variables and functions
names. */