X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c3a8cbaaad50a9c81f9542960be038a20f417dd9..0d8bed5636c07f932fdcb6ef04df749ab1c162d7:/TODO?ds=sidebyside diff --git a/TODO b/TODO index b80c259c..13fab6e8 100644 --- a/TODO +++ b/TODO @@ -1,14 +1,41 @@ -*- outline -*- -* src/reader.c -Check and cleanup for CPP-out code. [ok] +* NEWS +Sort from 1.31 NEWS. -* src/output.c -Check and cleanup for CPP-out code. [ok] -** %%input-line is not correct at this time. [ok] -Rely with bison.simple. +* Prologue +The %union is declared after the user C declarations. It can be +a problem if YYSTYPE is declared after the user part. [] -* Broken options ?. +Actually, the real problem seems that the %union ought to be output +where it was defined. For instance, in gettext/intl/plural.y, we +have: + + %{ + ... + #include "gettextP.h" + ... + %} + + %union { + unsigned long int num; + enum operator op; + struct expression *exp; + } + + %{ + ... + static int yylex PARAMS ((YYSTYPE *lval, const char **pexp)); + ... + %} + +Where the first part defines struct expression, the second uses it to +define YYSTYPE, and the last uses YYSTYPE. Only this order is valid. + +* --graph +Show reductions. [] + +* Broken options ? ** %no-lines [ok] ** %no-parser [] ** %pure-parser [] @@ -26,20 +53,16 @@ Must we keep %no-parser? %token-table? *** New skeletons. [] -* src/macrotab.[ch] -Removing warnings when compiling. (gcc-warnings). [ok] - * src/print_graph.c Find the best graph parameters. [] * doc/bison.texinfo -** Update +** Update informations about ERROR_VERBOSE. [] -** Add explainations about +** Add explainations about skeleton muscles. [] %skeleton. [] -* testsuite. -** tests/reduce.at [ok] +* testsuite ** tests/pure-parser.at [] New tests.