Lines Matching refs:save

471     struct YYParseState_s *save;    /* Previously saved parser state */
657 #define yytrial (yyps->save)
777 #define YYVALID do { if (yyps->save) goto yyvalid; } while(0)
778 #define YYVALID_NESTED do { if (yyps->save && \
779 yyps->save->save == 0) goto yyvalid; } while(0)
808 yyps->save = 0;
846 if (yyps->save)
848 /* in trial mode; save scanner results for future parse attempts */
911 YYParseState *save;
918 save = yypath;
919 yypath = save->save;
920 save->save = NULL;
921 ctry = save->ctry;
922 if (save->state != yystate) YYABORT;
923 yyFreeState(save);
930 YYParseState *save;
935 if (yyps->save)
941 save = yyNewState((unsigned)(yystack.s_mark - yystack.s_base + 1));
942 if (save == NULL) goto yyenomem;
943 save->save = yyps->save;
944 save->state = yystate;
945 save->errflag = yyerrflag;
946 save->yystack.s_mark = save->yystack.s_base + (yystack.s_mark - yystack.s_base);
947 memcpy (save->yystack.s_base, yystack.s_base, (size_t) (yystack.s_mark - yystack.s_base + 1) * sizeof(YYINT));
948 save->yystack.l_mark = save->yystack.l_base + (yystack.l_mark - yystack.l_base);
949 memcpy (save->yystack.l_base, yystack.l_base, (size_t) (yystack.l_mark - yystack.l_base + 1) * sizeof(YYSTYPE));
951 save->yystack.p_mark = save->yystack.p_base + (yystack.p_mark - yystack.p_base);
952 memcpy (save->yystack.p_base, yystack.p_base, (size_t) (yystack.p_mark - yystack.p_base + 1) * sizeof(YYLTYPE));
963 save->ctry = ctry;
964 if (yyps->save == NULL)
1007 save->lexeme = (int) (yylvp - yylvals);
1008 yyps->save = save;
1088 while (yyps->save)
1091 YYParseState *save = yyps->save;
1095 YYDEBUGSTR, yydepth, yystate, yyps->save->state,
1096 (int)(yylvp - yylvals - yyps->save->lexeme));
1106 yyerrctx->save = yyps->save;
1119 yylvp = yylvals + save->lexeme;
1121 yylpp = yylpsns + save->lexeme;
1123 yylexp = yylexemes + save->lexeme;
1125 yystack.s_mark = yystack.s_base + (save->yystack.s_mark - save->yystack.s_base);
1126 memcpy (yystack.s_base, save->yystack.s_base, (size_t) (yystack.s_mark - yystack.s_base + 1) * sizeof(YYINT));
1127 yystack.l_mark = yystack.l_base + (save->yystack.l_mark - save->yystack.l_base);
1128 memcpy (yystack.l_base, save->yystack.l_base, (size_t) (yystack.l_mark - yystack.l_base + 1) * sizeof(YYSTYPE));
1130 yystack.p_mark = yystack.p_base + (save->yystack.p_mark - save->yystack.p_base);
1131 memcpy (yystack.p_base, save->yystack.p_base, (size_t) (yystack.p_mark - yystack.p_base + 1) * sizeof(YYLTYPE));
1133 ctry = ++save->ctry;
1134 yystate = save->state;
1137 yyps->save = save->save;
1138 save->save = NULL;
1139 yyFreeState(save);
1142 if (!yyps->save)
1311 /* just in case YYERROR is invoked within the action, save
1528 if (yyps->save)
1530 /* in trial mode; save scanner results for future parse attempts */
1612 while (yyps->save)
1614 YYParseState *save = yyps->save;
1615 yyps->save = save->save;
1616 save->save = yypath;
1617 yypath = save;
1664 if (yyps->save) goto yyvalid;
1701 YYParseState *save = yyps;
1702 yyps = save->save;
1703 save->save = NULL;
1704 yyFreeState(save);
1708 YYParseState *save = yypath;
1709 yypath = save->save;
1710 save->save = NULL;
1711 yyFreeState(save);