* data/lalr1.cc (Parser::reduce_print_): Remove unused yyi.

From Alexandre Duret-Lutz.
This commit is contained in:
Akim Demaille
2003-08-25 09:54:57 +00:00
parent 25f66e1a6a
commit 8c182d0592
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2003-08-25 Akim Demaille <akim@epita.fr>
* data/lalr1.cc (Parser::reduce_print_): Remove unused yyi.
From Alexandre Duret-Lutz.
2003-08-25 Akim Demaille <akim@epita.fr> 2003-08-25 Akim Demaille <akim@epita.fr>
* data/lalr1.cc (Parser::stack_print_, YY_STACK_PRINT): New. * data/lalr1.cc (Parser::stack_print_, YY_STACK_PRINT): New.

View File

@@ -826,7 +826,6 @@ yy::]b4_parser_class_name[::stack_print_ ()
void void
yy::]b4_parser_class_name[::reduce_print_ (int yyrule) yy::]b4_parser_class_name[::reduce_print_ (int yyrule)
{ {
int yyi;
unsigned int yylno = rline_[yyrule]; unsigned int yylno = rline_[yyrule];
/* Print the symbols being reduced, and their result. */ /* Print the symbols being reduced, and their result. */
cdebug_ << "Reducing via rule " << n_ - 1 << " (line " << yylno << "), "; cdebug_ << "Reducing via rule " << n_ - 1 << " (line " << yylno << "), ";