Make yacc and lex more pedant friendly.

This commit is contained in:
wkj 2004-05-16 08:08:13 +00:00
parent 7bda1456a8
commit 787a5a559b
2 changed files with 8 additions and 0 deletions

View file

@ -184,6 +184,7 @@ yydefault:
printf("%s", yystatname(yystate));
printf("saw %s\n", yytokname(yychar));
}
goto yyerrlab;
yyerrlab:
yynerrs++;