]>
Commit | Line | Data |
---|---|---|
1 | -*- outline -*- | |
2 | ||
3 | * NEWS | |
4 | Sort from 1.31 NEWS. | |
5 | ||
6 | * Prologue | |
7 | The %union is declared after the user C declarations. It can be | |
8 | a problem if YYSTYPE is declared after the user part. [] | |
9 | ||
10 | Actually, the real problem seems that the %union ought to be output | |
11 | where it was defined. For instance, in gettext/intl/plural.y, we | |
12 | have: | |
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 | ||
32 | Where the first part defines struct expression, the second uses it to | |
33 | define YYSTYPE, and the last uses YYSTYPE. Only this order is valid. | |
34 | ||
35 | * --graph | |
36 | Show 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 (). | |
45 | Maybe transfered in lex.c. | |
46 | *** %skeleton [ok] | |
47 | *** %output [] | |
48 | *** %file-prefix [] | |
49 | *** %name-prefix [] | |
50 | ||
51 | ** Skeleton strategy. [] | |
52 | Must we keep %no-parser? | |
53 | %token-table? | |
54 | *** New skeletons. [] | |
55 | ||
56 | * src/print_graph.c | |
57 | Find the best graph parameters. [] | |
58 | ||
59 | * doc/bison.texinfo | |
60 | ** Update | |
61 | informations about ERROR_VERBOSE. [] | |
62 | ** Add explainations about | |
63 | skeleton muscles. [] | |
64 | %skeleton. [] | |
65 | ||
66 | * testsuite | |
67 | ** tests/pure-parser.at [] | |
68 | New tests. |