Lines Matching full:save
135 struct YYParseState_s *save; /* Previously saved parser state */
244 #define yytrial (yyps->save)
364 #define YYVALID do { if (yyps->save) goto yyvalid; } while(0)
365 #define YYVALID_NESTED do { if (yyps->save && \
366 yyps->save->save == 0) goto yyvalid; } while(0)
410 yyps->save = 0;
448 if (yyps->save)
450 /* in trial mode; save scanner results for future parse attempts */
513 YYParseState *save;
520 save = yypath;
521 yypath = save->save;
522 save->save = NULL;
523 ctry = save->ctry;
524 if (save->state != yystate) YYABORT;
525 yyFreeState(save);
532 YYParseState *save;
537 if (yyps->save)
543 save = yyNewState((unsigned)(yystack.s_mark - yystack.s_base + 1));
544 if (save == NULL) goto yyenomem;
545 save->save = yyps->save;
546 save->state = yystate;
547 save->errflag = yyerrflag;
548 save->yystack.s_mark = save->yystack.s_base + (yystack.s_mark - yystack.s_base);
549 …memcpy (save->yystack.s_base, yystack.s_base, (size_t) (yystack.s_mark - yystack.s_base + 1) * siz…
550 save->yystack.l_mark = save->yystack.l_base + (yystack.l_mark - yystack.l_base);
551 …memcpy (save->yystack.l_base, yystack.l_base, (size_t) (yystack.l_mark - yystack.l_base + 1) * siz…
553 save->yystack.p_mark = save->yystack.p_base + (yystack.p_mark - yystack.p_base);
554 …memcpy (save->yystack.p_base, yystack.p_base, (size_t) (yystack.p_mark - yystack.p_base + 1) * siz…
565 save->ctry = ctry;
566 if (yyps->save == NULL)
609 save->lexeme = (int) (yylvp - yylvals);
610 yyps->save = save;
690 while (yyps->save)
693 YYParseState *save = yyps->save;
697 YYDEBUGSTR, yydepth, yystate, yyps->save->state,
698 (int)(yylvp - yylvals - yyps->save->lexeme));
708 yyerrctx->save = yyps->save;
721 yylvp = yylvals + save->lexeme;
723 yylpp = yylpsns + save->lexeme;
725 yylexp = yylexemes + save->lexeme;
727 yystack.s_mark = yystack.s_base + (save->yystack.s_mark - save->yystack.s_base);
728 …memcpy (yystack.s_base, save->yystack.s_base, (size_t) (yystack.s_mark - yystack.s_base + 1) * siz…
729 yystack.l_mark = yystack.l_base + (save->yystack.l_mark - save->yystack.l_base);
730 …memcpy (yystack.l_base, save->yystack.l_base, (size_t) (yystack.l_mark - yystack.l_base + 1) * siz…
732 yystack.p_mark = yystack.p_base + (save->yystack.p_mark - save->yystack.p_base);
733 …memcpy (yystack.p_base, save->yystack.p_base, (size_t) (yystack.p_mark - yystack.p_base + 1) * siz…
735 ctry = ++save->ctry;
736 yystate = save->state;
739 yyps->save = save->save;
740 save->save = NULL;
741 yyFreeState(save);
744 if (!yyps->save)
913 /* just in case YYERROR is invoked within the action, save
967 if (yyps->save)
969 /* in trial mode; save scanner results for future parse attempts */
1051 while (yyps->save)
1053 YYParseState *save = yyps->save;
1054 yyps->save = save->save;
1055 save->save = yypath;
1056 yypath = save;
1103 if (yyps->save) goto yyvalid;
1140 YYParseState *save = yyps;
1141 yyps = save->save;
1142 save->save = NULL;
1143 yyFreeState(save);
1147 YYParseState *save = yypath;
1148 yypath = save->save;
1149 save->save = NULL;
1150 yyFreeState(save);