* data/glr.c (yylval): As in yacc.c, don't extern in the header for

the case of pure parsers.  Reported by Frans Englich at
<http://lists.gnu.org/archive/html/help-bison/2007-05/msg00018.html>.
* THANKS: Add Frans Englich.
This commit is contained in:
Joel E. Denny
2007-05-26 19:10:43 +00:00
parent 5a43d4184f
commit 0c650a2027
3 changed files with 8 additions and 1 deletions

View File

@@ -2638,7 +2638,8 @@ b4_copyright([Skeleton interface for Bison GLR parsers in C],
b4_shared_declarations
extern YYSTYPE b4_prefix[]lval;
b4_pure_if([],
[[extern YYSTYPE b4_prefix][lval;]])
b4_locations_if([b4_pure_if([],
[extern YYLTYPE b4_prefix[]lloc;])