mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 17:53:02 +00:00
* data/lalr1.cc (symprint_): Use cdebug_ to avoid warnings.
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
2004-11-17 Akim Demaille <akim@epita.fr>,
|
2004-11-17 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* data/lalr1.cc (symprint_): Use cdebug_ to avoid warnings.
|
||||||
|
|
||||||
|
2004-10-28 Akim Demaille <akim@epita.fr>,
|
||||||
Alexandre Duret-Lutz <adl@gnu.org>
|
Alexandre Duret-Lutz <adl@gnu.org>
|
||||||
|
|
||||||
* data/lalr1.cc (Parser::yycdebug_): New, a pointer, to allow
|
* data/lalr1.cc (Parser::yycdebug_): New, a pointer, to allow
|
||||||
|
|||||||
@@ -429,6 +429,7 @@ yy::]b4_parser_class_name[::symprint_ (int yytype,
|
|||||||
(void) yylocationp;
|
(void) yylocationp;
|
||||||
/* Backward compatibility, but should be removed eventually. */
|
/* Backward compatibility, but should be removed eventually. */
|
||||||
std::ostream& cdebug_ = *yycdebug_;
|
std::ostream& cdebug_ = *yycdebug_;
|
||||||
|
(void) cdebug_;
|
||||||
|
|
||||||
*yycdebug_ << (yytype < ntokens_ ? "token" : "nterm")
|
*yycdebug_ << (yytype < ntokens_ ? "token" : "nterm")
|
||||||
<< ' ' << name_[yytype] << " ("
|
<< ' ' << name_[yytype] << " ("
|
||||||
|
|||||||
Reference in New Issue
Block a user