* data/skeletons/yacc.c: here. --- data/skeletons/yacc.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/data/skeletons/yacc.c b/data/skeletons/yacc.c
index e0327638..ff1cdb79 100644
--- a/data/skeletons/yacc.c
+++ b/data/skeletons/yacc.c
@@ -2037,6 +2037,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. */
--
2.28.0
