]> git.saurik.com Git - bison.git/blame_incremental - TODO
* data/bison.c++: Adjust the parser code. Fix some muscles that were
[bison.git] / TODO
... / ...
CommitLineData
1-*- outline -*-
2
3* NEWS
4Sort from 1.31 NEWS.
5
6* Prologue
7The %union is declared after the user C declarations. It can be
8a problem if YYSTYPE is declared after the user part. []
9
10Actually, the real problem seems that the %union ought to be output
11where it was defined. For instance, in gettext/intl/plural.y, we
12have:
13
14 %{
15 ...
16 #include "gettextP.h"
17 ...
18 %}
19
20 %union {
21 unsigned long int num;
22 enum operator op;
23 struct expression *exp;
24 }
25
26 %{
27 ...
28 static int yylex PARAMS ((YYSTYPE *lval, const char **pexp));
29 ...
30 %}
31
32Where the first part defines struct expression, the second uses it to
33define YYSTYPE, and the last uses YYSTYPE. Only this order is valid.
34
35* --graph
36Show reductions. []
37
38* Broken options ?
39** %no-lines [ok]
40** %no-parser []
41** %pure-parser []
42** %semantic-parser []
43** %token-table []
44** Options which could use parse_dquoted_param ().
45Maybe transfered in lex.c.
46*** %skeleton [ok]
47*** %output []
48*** %file-prefix []
49*** %name-prefix []
50
51** Skeleton strategy. []
52Must we keep %no-parser?
53 %token-table?
54*** New skeletons. []
55
56* src/print_graph.c
57Find the best graph parameters. []
58
59* doc/bison.texinfo
60** Update
61informations about ERROR_VERBOSE. []
62** Add explainations about
63skeleton muscles. []
64%skeleton. []
65
66* testsuite
67** tests/pure-parser.at []
68New tests.