Lines Matching full:yystack
575 # define YY_RESERVE_GLRSTACK(Yystack) \
577 if (Yystack->yyspaceLeft < YYHEADROOM) \
578 yyexpandGLRStack (Yystack); \
581 # define YY_RESERVE_GLRSTACK(Yystack) \
583 if (Yystack->yyspaceLeft < YYHEADROOM) \
584 yyMemoryExhausted (Yystack); \
1276 /** Shift stack #K of YYSTACK, to a new state corresponding to LR
2269 yyGLRStack yystack;
2270 yyGLRStack* const yystackp = &yystack;
2286 switch (YYSETJMP (yystack.yyexception_buffer))
2293 yyglrShift (&yystack, 0, 0, 0, &yylval]b4_locations_if([, &yylloc])[);
2308 yyStateNum yystate = yystack.yytops.yystates[0]->yylrState;
2317 ]b4_locations_if([[ yystack.yyerror_range[1].yystate.yyloc = yylloc;]])[
2318 yyreportSyntaxError (&yystack]b4_user_args[);
2321 YYCHK1 (yyglrReduce (&yystack, 0, yyrule, yytrue]b4_user_args[));
2351 yyglrShift (&yystack, 0, yyaction, yyposn, &yylval]b4_locations_if([, &yylloc])[);
2352 if (0 < yystack.yyerrState)
2353 yystack.yyerrState -= 1;
2357 ]b4_locations_if([[ yystack.yyerror_range[1].yystate.yyloc = yylloc;]])[
2358 yyreportSyntaxError (&yystack]b4_user_args[);
2362 YYCHK1 (yyglrReduce (&yystack, 0, -yyaction, yytrue]b4_user_args[));
2371 for (yys = 0; yys < yystack.yytops.yysize; yys += 1)
2381 (&yystack, yys), which sets the top state of yys to NULL. Thus,
2393 for (yys = 0; yys < yystack.yytops.yysize; yys += 1)
2394 YYCHK1 (yyprocessOneStack (&yystack, yys, yyposn]b4_lpure_args[));
2395 yyremoveDeletes (&yystack);
2396 if (yystack.yytops.yysize == 0)
2398 yyundeleteLastStack (&yystack);
2399 if (yystack.yytops.yysize == 0)
2400 yyFail (&yystack][]b4_lpure_args[, YY_("syntax error"));
2401 YYCHK1 (yyresolveStack (&yystack]b4_user_args[));
2403 ]b4_locations_if([[ yystack.yyerror_range[1].yystate.yyloc = yylloc;]])[
2404 yyreportSyntaxError (&yystack]b4_user_args[);
2416 for (yys = 0; yys < yystack.yytops.yysize; yys += 1)
2420 yyStateNum yystate = yystack.yytops.yystates[yys]->yylrState;
2426 yyglrShift (&yystack, yys, yyaction, yyposn,
2430 yystack.yytops.yystates[yys]->yylrState));
2433 if (yystack.yytops.yysize == 1)
2435 YYCHK1 (yyresolveStack (&yystack]b4_user_args[));
2437 yycompressStack (&yystack);
2443 yyrecoverSyntaxError (&yystack]b4_user_args[);
2444 yyposn = yystack.yytops.yystates[0]->yyposn;
2472 if (yystack.yyitems)
2474 yyGLRState** yystates = yystack.yytops.yystates;
2477 size_t yysize = yystack.yytops.yysize;
2485 ]b4_locations_if([[ yystack.yyerror_range[1].yystate.yyloc = yys->yyloc;]]
2489 yystack.yynextFree -= 1;
2490 yystack.yyspaceLeft += 1;
2495 yyfreeGLRStack (&yystack);