* data/glr.cc (YYERROR_VERBOSE, YYTOKEN_TABLE): Remove.

This commit is contained in:
Paul Eggert
2006-09-12 17:46:34 +00:00
parent 8e1687aef6
commit 4ec13d6058
2 changed files with 8 additions and 13 deletions

View File

@@ -1,3 +1,11 @@
2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
* data/glr.cc (YYERROR_VERBOSE, YYTOKEN_TABLE): Remove.
We don't need them in glr.cc, and glr.c defines them.
Defining YYERROR_VERBOSE to 0 here breaks glr.c, since glr.c
assumes that defining it to anything is the same as defining
it to 1. Problem reported by Paolo Bonzini.
2006-09-12 Paolo Bonzini <bonzini@gnu.org> (tiny change)
* data/c.m4 (b4_null, b4_case): Define.

View File

@@ -244,19 +244,6 @@ namespace ]b4_namespace[
# define YYDEBUG ]b4_debug_flag[
#endif
/* Enabling verbose error messages. */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE ]b4_error_verbose_flag[
#endif
/* Enabling the token table. */
#ifndef YYTOKEN_TABLE
# define YYTOKEN_TABLE ]b4_token_table[
#endif
/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
If N is 0, then set CURRENT to the empty location which ends
the previous symbol: RHS[0] (always defined). */