/[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.51 by eggert, Thu Feb 13 07:14:29 2003 UTC revision 1.52 by eggert, Tue Feb 25 07:56:34 2003 UTC
# Line 1123  static inline void Line 1123  static inline void
1123  yy_reduce_print (size_t yyk, yyRuleNum yyrule)  yy_reduce_print (size_t yyk, yyRuleNum yyrule)
1124  {  {
1125    int yyi;    int yyi;
1126    unsigned int yylineno = yyrline[yyrule];    unsigned int yylno = yyrline[yyrule];
1127    YYFPRINTF (stderr, "Reducing stack %d by rule %d (line %u), ",    YYFPRINTF (stderr, "Reducing stack %d by rule %d (line %u), ",
1128               yyk, yyrule - 1, yylineno);               yyk, yyrule - 1, yylno);
1129    /* Print the symbols being reduced, and their result.  */    /* Print the symbols being reduced, and their result.  */
1130    for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)    for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
1131      YYFPRINTF (stderr, "%s ", yytokenName (yyrhs[yyi]));      YYFPRINTF (stderr, "%s ", yytokenName (yyrhs[yyi]));

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

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