From: Paul Eggert Date: Tue, 25 Feb 2003 07:57:48 +0000 (+0000) Subject: (yy_reduce_print): yylineno -> yylno. X-Git-Tag: BISON-2_0~381 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/52f32190aa3e60eb079f8e374cf683094c5529ad (yy_reduce_print): yylineno -> yylno. --- diff --git a/data/yacc.c b/data/yacc.c index e562da0a..fca98e54 100644 --- a/data/yacc.c +++ b/data/yacc.c @@ -583,9 +583,9 @@ do { \ [[int yyrule], [yyrule]])[ { int yyi; - unsigned int yylineno = yyrline[yyrule]; + unsigned int yylno = yyrline[yyrule]; YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", - yyrule - 1, yylineno); + yyrule - 1, yylno); /* Print the symbols being reduced, and their result. */ for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);