mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
* data/glr.cc (YYERROR_VERBOSE, YYTOKEN_TABLE): Remove.
This commit is contained in:
@@ -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.
|
||||
|
||||
13
data/glr.cc
13
data/glr.cc
@@ -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). */
|
||||
|
||||
Reference in New Issue
Block a user