bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: glr: declare if defined


From: Akim Demaille
Subject: FYI: glr: declare if defined
Date: Mon, 14 Nov 2005 15:35:00 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * data/glr.c (yyexpandGLRStack): Declare only if defined.

Index: data/glr.c
===================================================================
RCS file: /cvsroot/bison/bison/data/glr.c,v
retrieving revision 1.135
diff -u -u -r1.135 glr.c
--- data/glr.c 14 Nov 2005 08:09:00 -0000 1.135
+++ data/glr.c 14 Nov 2005 14:34:32 -0000
@@ -783,7 +783,9 @@
   yyGLRStateSet yytops;
 };
 
+#if YYSTACKEXPANDABLE
 static void yyexpandGLRStack (yyGLRStack* yystack);
+#endif
 
 static void yyFail (yyGLRStack* yystack]b4_pure_formals[, const char* yymsg)
   __attribute__ ((__noreturn__));





reply via email to

[Prev in Thread] Current Thread [Next in Thread]