1 |
2002-07-29 Akim Demaille <akim@epita.fr> |
2002-07-29 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
Use $accept and $end, as BYacc and BTYacc do, instead of $axiom and $. |
4 |
|
|
5 |
|
* src/symtab.h, src/symtab.c (eoftoken, axiom): Rename as... |
6 |
|
(endtoken, accept): these. |
7 |
|
* src/reader.c (reader): Set endtoken's default tag to "$end". |
8 |
|
Set undeftoken's tag to "$undefined" instead of "$undefined.". |
9 |
|
* doc/bison.texinfo (Table of Symbols): Mention $accept and $end. |
10 |
|
Adjust. |
11 |
|
|
12 |
|
2002-07-29 Akim Demaille <akim@epita.fr> |
13 |
|
|
14 |
* src/reduce.c (reduce_grammar): When the language is empty, |
* src/reduce.c (reduce_grammar): When the language is empty, |
15 |
complain about the start symbol, not the axiom. |
complain about the start symbol, not the axiom. |
16 |
Use its location. |
Use its location. |