1 |
|
2002-06-15 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
* src/parse-gram.y (YYLLOC_DEFAULT, current_lhs_location): New. |
4 |
|
(input): Don't try to initialize yylloc here, do it in the |
5 |
|
scanner. |
6 |
|
* src/scan-gram.l (YY_USER_INIT): Initialize yylloc. |
7 |
|
* src/gram.h (rule_t): Change line and action_line into location |
8 |
|
and action_location, of location_t type. |
9 |
|
Adjust all dependencies. |
10 |
|
* src/location.h, src/location.c (empty_location): New. |
11 |
|
* src/reader.h, src/reader.c (grammar_start_symbol_set) |
12 |
|
(grammar_symbol_append, grammar_rule_begin, grammar_rule_end) |
13 |
|
(grammar_current_rule_symbol_append) |
14 |
|
(grammar_current_rule_action_append): Expect a location as argument. |
15 |
|
* src/reader.c (grammar_midrule_action): Adjust to attach an |
16 |
|
action's location as dummy symbol location. |
17 |
|
* src/symtab.h, src/symtab.c (startsymbol_location): New. |
18 |
|
* tests/regression.at (Web2c Report, Rule Line Numbers): Adjust |
19 |
|
the line numbers. |
20 |
|
|
21 |
|
|
22 |
2002-06-14 Akim Demaille <akim@epita.fr> |
2002-06-14 Akim Demaille <akim@epita.fr> |
23 |
|
|
24 |
Grammar declarations may be found in the grammar section. |
Grammar declarations may be found in the grammar section. |