diff options
Diffstat (limited to 'lib/yaccpar')
-rw-r--r-- | lib/yaccpar | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/yaccpar b/lib/yaccpar index 2d5a5fbe..451d7187 100644 --- a/lib/yaccpar +++ b/lib/yaccpar @@ -217,7 +217,8 @@ yydefault: fprint(2, "%s", yystatname(yystate)); fprint(2, "saw %s\n", yytokname(yychar)); } -yyerrlab: + goto yyerrlab; + yyerrlab: yynerrs++; case 1: |