mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Output yylloc macro defn in glr.c even if locations are not being generated.
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
2004-05-21 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* data/glr.c (yylloc): Output this macro even if locations are not
|
||||
being generated, as the GLR parser needs it even in that case.
|
||||
Problem reported by Troy A. Johnson
|
||||
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=195946>.
|
||||
|
||||
* configure.ac (AC_INIT): Update to 1.875e.
|
||||
|
||||
2004-05-21 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
@@ -158,7 +158,7 @@ m4_if(b4_prefix[], [yy], [],
|
||||
#define yychar b4_prefix[]char
|
||||
#define yydebug b4_prefix[]debug
|
||||
#define yynerrs b4_prefix[]nerrs
|
||||
b4_location_if([#define yylloc b4_prefix[]lloc])])
|
||||
#define yylloc b4_prefix[]lloc])
|
||||
|
||||
b4_token_defines(b4_tokens)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user