summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-03-08 07:56:39 +0100
committerAkim Demaille <akim.demaille@gmail.com>2020-03-08 08:10:11 +0100
commite3812bb8c317203014f615c6f0cb15fd657ae293 (patch)
tree35c41d015daf4f64a3c941cfdc5af34326be1aa3 /TODO
parentcfcd823e160121d8be7463b8b47600ff50c3cbd3 (diff)
downloadbison-e3812bb8c317203014f615c6f0cb15fd657ae293.tar.gz
yacc.c: make sure we properly propagated the user's number for error
* data/skeletons/yacc.c (YYERRCODE): Be truthful. * tests/input.at (Redefining the error token): Check that.
Diffstat (limited to 'TODO')
-rw-r--r--TODO9
1 files changed, 2 insertions, 7 deletions
diff --git a/TODO b/TODO
index 7a3580cc..a7b7b948 100644
--- a/TODO
+++ b/TODO
@@ -315,13 +315,8 @@ It would be a very nice source of inspiration for the other languages.
Valentin Tolmer is working on this.
** YYERRCODE
-Defined to 256, but not used, not documented. Probably the token
-number for the error token, which POSIX wants to be 256, but which
-Bison might renumber if the user used number 256. Keep fix and doc?
-Throw away?
-
-Also, why don't we output the token name of the error token in the
-output? It is explicitly skipped:
+Why don't we output the token name of the error token in the output? It is
+explicitly skipped:
/* Skip error token and tokens without identifier. */
if (sym != errtoken && id)