style: comments changes about error handling

* data/skeletons/glr.c, data/skeletons/lalr1.cc, data/skeletons/lalr1.d,
* data/skeletons/lalr1.java, data/skeletons/yacc.c: here.
* data/skeletons/lalr1.cc: Reduce scope.
This commit is contained in:
Akim Demaille
2020-04-15 08:44:08 +02:00
parent fc18b4313a
commit c4c25e091c
5 changed files with 29 additions and 25 deletions

View File

@@ -2353,7 +2353,7 @@ yyrecoverSyntaxError (yyGLRStack* yystackp]b4_user_formals[)
yycompressStack (yystackp);
}
/* Now pop stack until we find a state that shifts the error token. */
/* Pop stack until we find a state that shifts the error token. */
yystackp->yyerrState = 3;
while (yystackp->yytops.yystates[0] != YY_NULLPTR)
{