mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-22 23:48:14 +00:00
yacc.c: also count calls to YYERROR in yynerrs
* data/skeletons/yacc.c: here.
This commit is contained in:
1 parent
683040b324
commit
f4d33ff4b4
4 files changed
+12
-4
No files matched your search
@@ -2044,6 +2044,7 @@ yyerrorlab:
|
||||
label yyerrorlab therefore never appears in user code. */
|
||||
if (0)
|
||||
YYERROR;
|
||||
++yynerrs;
|
||||
|
||||
/* Do not reclaim the symbols of the rule whose action triggered
|
||||
this YYERROR. */
|
||||
|
||||
Reference in new issue
Block a user