mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* data/lalr1.cc: If YYDEBUG is not defined, don't depend upon
name_ being defined.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2003-02-04 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* data/lalr1.cc: If YYDEBUG is not defined, don't depend upon
|
||||
name_ being defined.
|
||||
|
||||
2003-02-03 Paul Eggert <eggert@twinsun.com>
|
||||
|
||||
* src/gram.h (start_symbol): Remove unused decl.
|
||||
|
||||
@@ -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