mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
* data/glr.c: Guard the declarations of yypstack and yypdumpstack
with #ifdef YYDEBUG.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2004-08-30 Florian Krohm <florian@edamail.fishkill.ibm.com>
|
||||
|
||||
* data/glr.c: Guard the declarations of yypstack and yypdumpstack
|
||||
with #ifdef YYDEBUG.
|
||||
|
||||
2004-08-26 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* doc/bison.texinfo (Implementing Loops): Rename as...
|
||||
|
||||
@@ -1931,6 +1931,7 @@ yyrecoverSyntaxError (yyGLRStack* yystack,
|
||||
}
|
||||
|
||||
/* DEBUGGING ONLY */
|
||||
#ifdef YYDEBUG
|
||||
static void yypstack (yyGLRStack* yystack, int yyk) ATTRIBUTE_UNUSED;
|
||||
static void yypdumpstack (yyGLRStack* yystack) ATTRIBUTE_UNUSED;
|
||||
|
||||
@@ -1998,6 +1999,7 @@ yypdumpstack (yyGLRStack* yystack)
|
||||
(long int) YYINDEX (yystack->yytops.yystates[yyi]));
|
||||
fprintf (stderr, "\n");
|
||||
}
|
||||
#endif
|
||||
]
|
||||
|
||||
b4_epilogue
|
||||
|
||||
Reference in New Issue
Block a user