* data/bison.simple (yyparse): Correct error handling to conform to

POSIX and yacc.  Specifically, after syntax error is discovered,
do not reduce further before shifting the error token.
Clean up the code a bit by removing the labels yyerrdefault,
yyerrhandle, yyerrpop.
* NEWS: Document the above.
This commit is contained in:
Paul Eggert
2002-05-24 12:45:23 +00:00
parent 68cd8af38b
commit 78df825093

View File

@@ -1,3 +1,13 @@
2002-05-24 Paul Hilfinger <Hilfinger@CS.Berkeley.EDU>
and Paul Eggert <eggert@twinsun.com>
* data/bison.simple (yyparse): Correct error handling to conform to
POSIX and yacc. Specifically, after syntax error is discovered,
do not reduce further before shifting the error token.
Clean up the code a bit by removing the labels yyerrdefault,
yyerrhandle, yyerrpop.
* NEWS: Document the above.
2002-05-20 Paul Hilfinger <Hilfinger@CS.Berkeley.EDU>
* data/bison.simple (yyr1): Don't use yy_token_number_type as element