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

@@ -1998,6 +1998,7 @@ yyerrorlab:
yyerrlab1:
yyerrstatus = 3; /* Each real token shifted decrements this. */
// Pop stack until we find a state that shifts the error token.
for (;;)
{
yyn = yypact[yystate];