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