1 |
2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
2 |
|
|
3 |
|
* src/reader.c (reader): Remove calls to 'output_headers' and |
4 |
|
'output_trailers'. Remove some C output. |
5 |
|
(readgram): Disable a piece of code that was writing a default |
6 |
|
definition for 'YYSTYPE'. |
7 |
|
(reader_output_yylsp): Remove. |
8 |
|
(packsymbols): Output token defintions to a macro. |
9 |
|
(copy_definition): Disable C output. |
10 |
|
|
11 |
|
* src/reader.c (parse_macro_decl): New function used to parse macro |
12 |
|
declarations. |
13 |
|
(copy_string2): Put the body of copy_string into this new function. |
14 |
|
Add a parameter to let the caller choose whether he wants to copy the |
15 |
|
string delimiters or not. |
16 |
|
(copy_string): Be a simple call to copy_string2 with the last argument |
17 |
|
bound to true. |
18 |
|
(read_declarations): Add case for macro definition. |
19 |
|
(copy_identifier): New. |
20 |
|
(parse_macro_decl): Read macro identifiers using copy_identifier |
21 |
|
rather than lex. |
22 |
|
|
23 |
|
2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
24 |
|
|
25 |
* src/output.c (prepare): Add prefixed names. |
* src/output.c (prepare): Add prefixed names. |
26 |
(output_parser): Output semantic actions. |
(output_parser): Output semantic actions. |
27 |
(output_parser): Fix bug on '%%line' directives. |
(output_parser): Fix bug on '%%line' directives. |