(yy::]b4_parser_class_name[::parse): yylineno -> yylno.

This commit is contained in:
Paul Eggert
2003-02-25 07:57:09 +00:00
parent 47ee29cf60
commit 9b76b7868e

View File

@@ -432,9 +432,9 @@ yy::]b4_parser_class_name[::parse ()
// Short files will use "unsigned char" for line numbers,
// in which case they will be output as character litterals
// by "<<".
unsigned yylineno = rline_[n_];
unsigned yylno = rline_[n_];
YYCDEBUG << "Reducing via rule " << n_ - 1
<< " (line " << yylineno << "), ";
<< " (line " << yylno << "), ";
for (]b4_int_type_for([b4_prhs])[ i = prhs_[n_];
0 <= rhs_[i]; ++i)
YYCDEBUG << name_[rhs_[i]] << ' ';