/[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.34 by eggert, Wed Nov 13 06:48:18 2002 UTC revision 1.35 by eggert, Wed Nov 13 07:46:19 2002 UTC
# Line 1022  yyglrShiftDefer (yyGLRStack* yystack, in Line 1022  yyglrShiftDefer (yyGLRStack* yystack, in
1022   *  have been previously resolved. Set *VALP to the resulting value,   *  have been previously resolved. Set *VALP to the resulting value,
1023   *  and *LOCP to the computed location (if any).  Return value is as   *  and *LOCP to the computed location (if any).  Return value is as
1024   *  for userAction. */   *  for userAction. */
1025  static inline int  static inline YYRESULTTAG
1026  yydoAction (yyGLRStack* yystack, int yyk, yyRuleNum yyrule,  yydoAction (yyGLRStack* yystack, int yyk, yyRuleNum yyrule,
1027              YYSTYPE* yyvalp, YYLTYPE* yylocp]b4_user_formals[)              YYSTYPE* yyvalp, YYLTYPE* yylocp]b4_user_formals[)
1028  {  {
# Line 1168  yyglrReduce (yyGLRStack* yystack, size_t Line 1168  yyglrReduce (yyGLRStack* yystack, size_t
1168                      yymarkStackDeleted (yystack, yyk);                      yymarkStackDeleted (yystack, yyk);
1169                      YYDPRINTF ((stderr, "Merging stack %d into stack %d.\n",                      YYDPRINTF ((stderr, "Merging stack %d into stack %d.\n",
1170                                  yyk, yyi));                                  yyk, yyi));
1171                      return 0;                      return yyok;
1172                    }                    }
1173                  yyp = yyp->yypred;                  yyp = yyp->yypred;
1174                }                }
# Line 1176  yyglrReduce (yyGLRStack* yystack, size_t Line 1176  yyglrReduce (yyGLRStack* yystack, size_t
1176        yystack->yytops.yystates[yyk] = yys;        yystack->yytops.yystates[yyk] = yys;
1177        yyglrShiftDefer (yystack, yyk, yynewLRState, yyposn, yys0, yyrule]b4_pure_args[);        yyglrShiftDefer (yystack, yyk, yynewLRState, yyposn, yys0, yyrule]b4_pure_args[);
1178      }      }
1179    return 0;    return yyok;
1180  }  }
1181    
1182  static int  static int

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

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