mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-22 15:38:23 +00:00
* data/lalr1.cc: If YYDEBUG is not defined, don't depend upon
name_ being defined.
This commit is contained in:
1 parent
a737b2163c
commit
fc049e9caf
2 files changed
+8
-1
No files matched your search
+3
-1
@@ -385,8 +385,10 @@ yy::]b4_parser_class_name[::parse ()
|
||||
goto yyacceptlab;
|
||||
|
||||
/* Shift the lookahead token. */
|
||||
#if YYDEBUG
|
||||
YYCDEBUG << "Shifting token " << looka_
|
||||
<< " (" << name_[ilooka_] << "), ";
|
||||
<< " (" << name_[ilooka_] << "), ";
|
||||
#endif
|
||||
|
||||
/* Discard the token being shifted unless it is eof. */
|
||||
if (looka_ != eof_)
|
||||
|
||||
Reference in new issue
Block a user