1 |
2003-08-25 Akim Demaille <akim@epita.fr> |
2003-08-25 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
When reducing initial empty rules, Bison parser read an initial |
4 |
|
location that is not defined. This results in garbage, and that |
5 |
|
affects Bison's own parser. Therefore we need (i) to extend Bison |
6 |
|
to support a means to initialize this location, and (ii) to use |
7 |
|
this CVS Bison to fix CVS Bison's parser. |
8 |
|
|
9 |
|
* src/reader.h, reader.c (epilogue_augment): Remove, replace |
10 |
|
with... |
11 |
|
* src/muscle_tab.h, src/muscle_tab.c (muscle_code_grow): this. |
12 |
|
* src/parse-gram.y: Adjust. |
13 |
|
(%initial-action): New. |
14 |
|
(%error-verbose): Since we require CVS Bison, there is no reason |
15 |
|
not to use it. |
16 |
|
* src/scan-gram.l: Adjust. |
17 |
|
* src/Makefile.am (YACC): New, to make sure we use our own parser. |
18 |
|
* data/yacc.c (yyparse): Use b4_initial_action. |
19 |
|
|
20 |
|
2003-08-25 Akim Demaille <akim@epita.fr> |
21 |
|
|
22 |
* doc/bison.texinfo: Don't promote stdout for error messages. |
* doc/bison.texinfo: Don't promote stdout for error messages. |
23 |
|
|
24 |
2003-08-25 Akim Demaille <akim@epita.fr> |
2003-08-25 Akim Demaille <akim@epita.fr> |