mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +00:00
(yy_reduce_print): yylineno -> yylno.
This commit is contained in:
@@ -583,9 +583,9 @@ do { \
|
|||||||
[[int yyrule], [yyrule]])[
|
[[int yyrule], [yyrule]])[
|
||||||
{
|
{
|
||||||
int yyi;
|
int yyi;
|
||||||
unsigned int yylineno = yyrline[yyrule];
|
unsigned int yylno = yyrline[yyrule];
|
||||||
YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
|
YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
|
||||||
yyrule - 1, yylineno);
|
yyrule - 1, yylno);
|
||||||
/* Print the symbols being reduced, and their result. */
|
/* Print the symbols being reduced, and their result. */
|
||||||
for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
|
for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
|
||||||
YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);
|
YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);
|
||||||
|
|||||||
Reference in New Issue
Block a user