1 |
2002-06-20 Akim Demaille <akim@epita.fr> |
2002-06-20 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
* src/symtab.h, src/symtab.c (symbol_t): printer and |
4 |
|
printer_location are new members. |
5 |
|
(symbol_printer_set): New. |
6 |
|
* src/parse-gram.y (PERCENT_PRINTER): New token. |
7 |
|
Handle its associated rule. |
8 |
|
* src/scan-gram.l: Adjust. |
9 |
|
(handle_destructor_at, handle_destructor_dollar): Rename as... |
10 |
|
(handle_symbol_code_at, handle_symbol_code_dollar): these. |
11 |
|
* src/output.c (symbol_printers_output): New. |
12 |
|
(output_skeleton): Call it. |
13 |
|
* data/bison.simple (yysymprint): New. Cannot be named yyprint |
14 |
|
since there are already many grammar files with a user `yyprint'. |
15 |
|
Replace the calls to YYPRINT to calls to yysymprint. |
16 |
|
* tests/calc.at: Adjust. |
17 |
|
* tests/torture.at (AT_DATA_STACK_TORTURE): Remove YYPRINT: it was |
18 |
|
taking advantage of parser very internal details (stack size!). |
19 |
|
|
20 |
|
2002-06-20 Akim Demaille <akim@epita.fr> |
21 |
|
|
22 |
* src/scan-gram.l: Complete the scanner with the missing patterns |
* src/scan-gram.l: Complete the scanner with the missing patterns |
23 |
to pacify Flex. |
to pacify Flex. |
24 |
Use `quote' and `symbol_tag_get' where appropriate. |
Use `quote' and `symbol_tag_get' where appropriate. |
25 |
|
|
|
|
|
26 |
2002-06-19 Akim Demaille <akim@epita.fr> |
2002-06-19 Akim Demaille <akim@epita.fr> |
27 |
|
|
28 |
* tests/actions.at (Destructors): Augment to test locations. |
* tests/actions.at (Destructors): Augment to test locations. |