1 |
|
2001-08-27 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
* Makefile.am (AUTOMAKE_OPTIONS): 1.5. |
4 |
|
|
5 |
2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
6 |
|
|
7 |
* lib/Makefile.am: Adjust. |
* lib/Makefile.am: Adjust. |
19 |
(reader_output_yylsp): Remove. |
(reader_output_yylsp): Remove. |
20 |
(packsymbols): Output token defintions to a macro. |
(packsymbols): Output token defintions to a macro. |
21 |
(copy_definition): Disable C output. |
(copy_definition): Disable C output. |
22 |
|
|
23 |
* src/reader.c (parse_macro_decl): New function used to parse macro |
* src/reader.c (parse_macro_decl): New function used to parse macro |
24 |
declarations. |
declarations. |
25 |
(copy_string2): Put the body of copy_string into this new function. |
(copy_string2): Put the body of copy_string into this new function. |
29 |
bound to true. |
bound to true. |
30 |
(read_declarations): Add case for macro definition. |
(read_declarations): Add case for macro definition. |
31 |
(copy_identifier): New. |
(copy_identifier): New. |
32 |
(parse_macro_decl): Read macro identifiers using copy_identifier |
(parse_macro_decl): Read macro identifiers using copy_identifier |
33 |
rather than lex. |
rather than lex. |
34 |
|
|
35 |
2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
37 |
* src/output.c (prepare): Add prefixed names. |
* src/output.c (prepare): Add prefixed names. |
38 |
(output_parser): Output semantic actions. |
(output_parser): Output semantic actions. |
39 |
(output_parser): Fix bug on '%%line' directives. |
(output_parser): Fix bug on '%%line' directives. |
40 |
|
|
41 |
* src/output.c (output_headers): Remove. The C code printed by this |
* src/output.c (output_headers): Remove. The C code printed by this |
42 |
function should now be in the skeletons. |
function should now be in the skeletons. |
43 |
(output_trailers): Remove. |
(output_trailers): Remove. |
47 |
* src/output.c: Remove some C dedicated output. |
* src/output.c: Remove some C dedicated output. |
48 |
Improve the use of macro and output obstacks. |
Improve the use of macro and output obstacks. |
49 |
(output_defines): Remove. |
(output_defines): Remove. |
50 |
|
|
51 |
* src/output.c (output_token_translations): Associate 'translate' |
* src/output.c (output_token_translations): Associate 'translate' |
52 |
table with a macro. No output to the table obstack. |
table with a macro. No output to the table obstack. |
53 |
(output_gram): Same for 'rhs' and 'prhs'. |
(output_gram): Same for 'rhs' and 'prhs'. |
58 |
(output_base): Same for 'pact' and 'pgoto'. |
(output_base): Same for 'pact' and 'pgoto'. |
59 |
(output_table): Same for 'table'. |
(output_table): Same for 'table'. |
60 |
(output_check): Same for 'check'. |
(output_check): Same for 'check'. |
61 |
|
|
62 |
* src/output.c (output_table_data): New function. |
* src/output.c (output_table_data): New function. |
63 |
(output_short_table): Remove. |
(output_short_table): Remove. |
64 |
(output_short_or_char_table): Remove. |
(output_short_or_char_table): Remove. |
65 |
|
|
66 |
* src/output.c (output_parser): Replace most of the skeleton copy code |
* src/output.c (output_parser): Replace most of the skeleton copy code |
67 |
with something new. Skeletons are now processed character by character |
with something new. Skeletons are now processed character by character |
68 |
rather than line by line, and Bison looks for '%%' macros. This is the |
rather than line by line, and Bison looks for '%%' macros. This is the |