* data/lalr1.cc: If YYDEBUG is not defined, don't depend upon

name_ being defined.
This commit is contained in:
Akim Demaille
2003-02-04 20:57:46 +00:00
parent a737b2163c
commit fc049e9caf
2 changed files with 8 additions and 1 deletions

View File

@@ -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_)