X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/bcb05e75f52c024c0ca0ad3559f0e3f4de3ab9da..616429b50868bf9225d55143526442a024e32969:/TODO diff --git a/TODO b/TODO index 10e4c12e..13fab6e8 100644 --- a/TODO +++ b/TODO @@ -1,21 +1,41 @@ -*- outline -*- +* NEWS +Sort from 1.31 NEWS. + * Prologue The %union is declared after the user C declarations. It can be -a problem if YYSTYPE is decalred after the user part. [] +a problem if YYSTYPE is declared after the user part. [] + +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; + } -* --verbose -Tell the truth about EOF. [] + %{ + ... + 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. [] -* tokendefs -This muscle should not exist: the information it contains should be -available from the rest of bison. Once the information public, get -rid of it. [] - -* Broken options ?. +* Broken options ? ** %no-lines [ok] ** %no-parser [] ** %pure-parser [] @@ -33,9 +53,6 @@ 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. [] @@ -46,7 +63,6 @@ informations about ERROR_VERBOSE. [] skeleton muscles. [] %skeleton. [] -* testsuite. -** tests/reduce.at [ok] +* testsuite ** tests/pure-parser.at [] New tests.