]> git.saurik.com Git - bison.git/commitdiff
(yy_reduce_print): yylineno -> yylno.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Feb 2003 07:57:48 +0000 (07:57 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Feb 2003 07:57:48 +0000 (07:57 +0000)
data/yacc.c

index e562da0a8c2e771ce137630f4b62f4d84f4dfed5..fca98e54dedad90de93483964425510456e68841 100644 (file)
@@ -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]]);