mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-11-03 05:11:58 +00:00
* data/glr.c: Guard the declarations of yypstack and yypdumpstack
with #ifdef YYDEBUG.
This commit is contained in:
1 parent
2fa09258b1
commit
417141dd61
2 files changed
+7
No files matched your search
@@ -1,3 +1,8 @@
|
||||
2004-08-30 Florian Krohm <[email protected]>
|
||||
|
||||
* data/glr.c: Guard the declarations of yypstack and yypdumpstack
|
||||
with #ifdef YYDEBUG.
|
||||
|
||||
2004-08-26 Akim Demaille <[email protected]>
|
||||
|
||||
* 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