/[bison]/bison/data/glr.c
ViewVC logotype

Diff of /bison/data/glr.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.42 by eggert, Thu Nov 21 05:11:29 2002 UTC revision 1.43 by eggert, Sat Dec 7 05:45:46 2002 UTC
# Line 1103  static inline void Line 1103  static inline void
1103  yy_reduce_print (size_t yyk, yyRuleNum yyrule)  yy_reduce_print (size_t yyk, yyRuleNum yyrule)
1104  {  {
1105    int yyi;    int yyi;
1106    YYFPRINTF (stderr, "Reducing stack %d by rule %d (line %d), ",    unsigned int yylineno = yyrline[yyrule];
1107               yyk, yyrule - 1, yyrline[yyrule]);    YYFPRINTF (stderr, "Reducing stack %d by rule %d (line %u), ",
1108                 yyk, yyrule - 1, yylineno);
1109    /* Print the symbols being reduced, and their result.  */    /* Print the symbols being reduced, and their result.  */
1110    for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)    for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
1111      YYFPRINTF (stderr, "%s ", yytokenName (yyrhs[yyi]));      YYFPRINTF (stderr, "%s ", yytokenName (yyrhs[yyi]));

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26