We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8631f35 commit 7e7a430Copy full SHA for 7e7a430
data/skeletons/yacc.c
@@ -1634,16 +1634,15 @@ yyread_pushed_token:]])[
1634
1635
/* Shift the lookahead token. */
1636
YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
1637
-
1638
- /* Discard the shifted token. */
1639
- yychar = YYEMPTY;]b4_lac_if([[
1640
- YY_LAC_DISCARD ("shift");]])[
1641
1642
yystate = yyn;
1643
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
1644
*++yyvsp = yylval;
1645
YY_IGNORE_MAYBE_UNINITIALIZED_END]b4_locations_if([
1646
*++yylsp = yylloc;])[
+
+ /* Discard the shifted token. */
+ yychar = YYEMPTY;]b4_lac_if([[
+ YY_LAC_DISCARD ("shift");]])[
1647
goto yynewstate;
1648
1649
0 commit comments