Fix yyerror / yylex test glitches noted by twlevo@xs4all.nl.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Jul 2005 18:39:01 +0000 (18:39 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Jul 2005 18:39:01 +0000 (18:39 +0000)
commitac8c5689f8897977863452e89ffadb05dffafd0f
tree3dda984bfdf93253475d6c97b8eeff7a4225be0a
parent6100a9aa2e68e992396e3e1da954921dc1fee801
Fix yyerror / yylex test glitches noted by twlevo@xs4all.nl.
* tests/cxx-type.at (_AT_TEST_GLR_CXXTYPES): Have yyerror return
void, not int.
* tests/glr-regression.at (Badly Collapsed GLR States):
Likewise.
(Improper handling of embedded actions and dollar(-N) in GLR parsers):
yylex should return 0 at EOF rather than aborting.
ChangeLog
tests/cxx-type.at
tests/glr-regression.at