1 |
2002-06-15 Akim Demaille <akim@epita.fr> |
2002-06-15 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
Let symbols have a location. |
4 |
|
|
5 |
|
* src/symtab.h, src/symtab.c (symbol_t): Location is a new member. |
6 |
|
(getsym): Adjust. |
7 |
|
Adjust all callers. |
8 |
|
* src/complain.h, src/complain.c (complain_at, fatal_at, warn_at): |
9 |
|
Use location_t, not int. |
10 |
|
* src/symtab.c (symbol_check_defined): Take advantage of the |
11 |
|
location. |
12 |
|
* tests/regression.at (Invalid inputs): Adjust. |
13 |
|
|
14 |
|
2002-06-15 Akim Demaille <akim@epita.fr> |
15 |
|
|
16 |
* src/parse-gram.y (YYLLOC_DEFAULT, current_lhs_location): New. |
* src/parse-gram.y (YYLLOC_DEFAULT, current_lhs_location): New. |
17 |
(input): Don't try to initialize yylloc here, do it in the |
(input): Don't try to initialize yylloc here, do it in the |
18 |
scanner. |
scanner. |