]> git.saurik.com Git - bison.git/commitdiff
* data/glr.c (yyexpandGLRStack): Declare only if defined.
authorAkim Demaille <akim@epita.fr>
Mon, 14 Nov 2005 14:34:38 +0000 (14:34 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 14 Nov 2005 14:34:38 +0000 (14:34 +0000)
ChangeLog
data/glr.c

index 52bb6991f5fb09c125b2057cabdcbb36a4fe3cbb..01407529e7bd566db1ceb91e193c500d4debc895 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-14  Akim Demaille  <akim@epita.fr>
+
+       * data/glr.c (yyexpandGLRStack): Declare only if defined.
+
 2005-11-14  Akim Demaille  <akim@epita.fr>
 
        * data/glr.cc: New.
index f427cfa9ade0d1aab5fd37f1e76b4c83fd5bb3c3..f9792b32d297bdb52c14d55e39921e71d5202655 100644 (file)
@@ -783,7 +783,9 @@ struct yyGLRStack {
   yyGLRStateSet yytops;
 };
 
+#if YYSTACKEXPANDABLE
 static void yyexpandGLRStack (yyGLRStack* yystack);
+#endif
 
 static void yyFail (yyGLRStack* yystack]b4_pure_formals[, const char* yymsg)
   __attribute__ ((__noreturn__));