[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bison ./ChangeLog src/reader.c
From: |
Robert Anisko |
Subject: |
bison ./ChangeLog src/reader.c |
Date: |
Sat, 25 Aug 2001 08:13:42 -0700 |
CVSROOT: /cvsroot/bison
Module name: bison
Changes by: Robert Anisko <address@hidden> 01/08/25 08:13:42
Modified files:
. : ChangeLog
src : reader.c
Log message:
* src/reader.c (reader): Remove calls to 'output_headers' and
'output_trailers'. Remove some C output.
(readgram): Disable a piece of code that was writing a default
definition for 'YYSTYPE'.
(reader_output_yylsp): Remove.
(packsymbols): Output token defintions to a macro.
(copy_definition): Disable C output.
* src/reader.c (parse_macro_decl): New function used to parse macro
declarations.
(copy_string2): Put the body of copy_string into this new function.
Add a parameter to let the caller choose whether he wants to copy the
string delimiters or not.
(copy_string): Be a simple call to copy_string2 with the last argument
bound to true.
(read_declarations): Add case for macro definition.
(copy_identifier): New.
(parse_macro_decl): Read macro identifiers using copy_identifier
rather than lex.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/ChangeLog.diff?tr1=1.180&tr2=1.181&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/reader.c.diff?tr1=1.74&tr2=1.75&r1=text&r2=text