diff options
author | Akim Demaille <akim@epita.fr> | 2002-07-30 11:56:44 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2002-07-30 11:56:44 +0000 |
commit | 217598dadc1d5aa72f430b1ac5584de8f385b596 (patch) | |
tree | 50defa66d15bf68f83965d86ac2eedd837a44833 /TODO | |
parent | 52489d44456f33e4543cee350cc3eaea5a4426fe (diff) | |
download | bison-217598dadc1d5aa72f430b1ac5584de8f385b596.tar.gz |
In verbose parse error message, don't report `error' as an
expected token.
* tests/actions.at (Printers and Destructors): Adjust.
* tests/calc.at (Calculator $1): Adjust.
* data/yacc.c, data/glr.c, data/lalr1.c: When making the verbose
error message, do not report the parser accepts the error token in
that state.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -16,30 +16,6 @@ Some are really funky. For instance is really weird. Revisit them all. -* Stupid error messages -An example shows it easily: - -src/bison/tests % ./testsuite -k calc,location,error-verbose -l -GNU Bison 1.49a test suite test groups: - - NUM: FILENAME:LINE TEST-GROUP-NAME - KEYWORDS - - 51: calc.at:440 Calculator --locations --yyerror-verbose - 52: calc.at:442 Calculator --defines --locations --name-prefix=calc --verbose --yacc --yyerror-verbose - 54: calc.at:445 Calculator --debug --defines --locations --name-prefix=calc --verbose --yacc --yyerror-verbose -src/bison/tests % ./testsuite 51 -d -## --------------------------- ## -## GNU Bison 1.49a test suite. ## -## --------------------------- ## - 51: calc.at:440 ok -## ---------------------------- ## -## All 1 tests were successful. ## -## ---------------------------- ## -src/bison/tests % cd ./testsuite.dir/51 -tests/testsuite.dir/51 % echo "()" | ./calc -1.2-1.3: parse error, unexpected ')', expecting error or "number" or '-' or '(' - * read_pipe.c This is not portable to DOS for instance. Implement a more portable |