silence yyerrlab warning

This commit is contained in:
rsc 2005-02-17 14:21:08 +00:00
parent 2faae3ce69
commit 53e2a4c62e
2 changed files with 4 additions and 3 deletions

View file

@ -217,7 +217,8 @@ yydefault:
fprint(2, "%s", yystatname(yystate));
fprint(2, "saw %s\n", yytokname(yychar));
}
yyerrlab:
goto yyerrlab;
yyerrlab:
yynerrs++;
case 1:

View file

@ -215,7 +215,7 @@ yydefault:
printf("saw %s\n", yytokname(yychar));
}
goto yyerrlab;
yyerrlab:
yyerrlab:
yynerrs++;
case 1: