mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
* data/lalr1.cc: If YYDEBUG is not defined, don't depend upon
name_ being defined.
This commit is contained in:
@@ -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