]> git.saurik.com Git - bison.git/commitdiff
* data/glr.c (yylval): As in yacc.c, don't extern in the header for
authorJoel E. Denny <jdenny@ces.clemson.edu>
Sat, 26 May 2007 19:10:43 +0000 (19:10 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Sat, 26 May 2007 19:10:43 +0000 (19:10 +0000)
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.

ChangeLog
THANKS
data/glr.c

index d42aa25471a1b2831e993d5aaf2ef42af0fdbdb2..c0caf03ff56a52c70ec622f31e63034140b2d161 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,11 @@
        that the yacc script isn't corrupt.  Reported by Hans Aberg at
        <http://lists.gnu.org/archive/html/bug-bison/2007-05/msg00003.html>.
 
+       * 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.
+
 2007-05-20  Joel E. Denny  <jdenny@ces.clemson.edu>
 
        Extend the front-end API for %define variables to more completely
diff --git a/THANKS b/THANKS
index d91ebdcafe21151a8f279ab44fae3ac606c74cc0..2382369996f31a2ec826b0311f1522862fe27110 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -29,6 +29,7 @@ Evgeny Stambulchik        fnevgeny@plasma-gate.weizmann.ac.il
 Fabrice Bauzac            noon@cote-dazur.com
 Florian Krohm             florian@edamail.fishkill.ibm.com
 Frank Heckenbach          frank@g-n-u.de
+Frans Englich             frans.englich@telia.com
 Guido Trentalancia        trentalg@aston.ac.uk
 H. Merijn Brand           h.m.brand@hccnet.nl
 Hans Aberg                haberg@matematik.su.se
index 681d856f05ba4c975cc8cf27548fb6056c6fb638..0cd87cf2cad323a2d596335a6505f5f1d59c1960 100644 (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;])