diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-03-08 07:56:39 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-03-08 08:10:11 +0100 |
commit | e3812bb8c317203014f615c6f0cb15fd657ae293 (patch) | |
tree | 35c41d015daf4f64a3c941cfdc5af34326be1aa3 /TODO | |
parent | cfcd823e160121d8be7463b8b47600ff50c3cbd3 (diff) | |
download | bison-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-- | TODO | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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) |