diff options
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/parser.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 382e26a..0c73ca2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2003-01-10 Geoffrey Keating <geoffk@apple.com> + + * parser.c (cp_parser_late_parsing_for_member): Don't cast to void. + (cp_parser_late_parsing_default_args): Likewise. + 2003-01-10 Nathanael Nerode <neroden@gcc.gnu.org> * cfns.gperf: ANSIfy function declarations. diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index d626939..7c7d49b 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -14469,7 +14469,7 @@ cp_parser_late_parsing_for_member (parser, member_function) /* Set the current source position to be the location of the first token in the saved inline body. */ - (void) cp_lexer_peek_token (parser->lexer); + cp_lexer_peek_token (parser->lexer); /* Let the front end know that we going to be defining this function. */ @@ -14522,7 +14522,7 @@ cp_parser_late_parsing_default_args (cp_parser *parser, tree fn) /* Set the current source position to be the location of the first token in the default argument. */ - (void) cp_lexer_peek_token (parser->lexer); + cp_lexer_peek_token (parser->lexer); /* Local variable names (and the `this' keyword) may not appear in a default argument. */ |