Commit 3466b292 by Geoffrey Keating Committed by Geoffrey Keating

parser.c (cp_parser_late_parsing_for_member): Don't cast to void.

	* parser.c (cp_parser_late_parsing_for_member): Don't cast to void.
	(cp_parser_late_parsing_default_args): Likewise.

From-SVN: r61170
parent 5f1355ef
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> 2003-01-10 Nathanael Nerode <neroden@gcc.gnu.org>
* cfns.gperf: ANSIfy function declarations. * cfns.gperf: ANSIfy function declarations.
......
...@@ -14469,7 +14469,7 @@ cp_parser_late_parsing_for_member (parser, member_function) ...@@ -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 /* Set the current source position to be the location of the first
token in the saved inline body. */ 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 /* Let the front end know that we going to be defining this
function. */ function. */
...@@ -14522,7 +14522,7 @@ cp_parser_late_parsing_default_args (cp_parser *parser, tree fn) ...@@ -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 /* Set the current source position to be the location of the
first token in the default argument. */ 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 /* Local variable names (and the `this' keyword) may not appear
in a default argument. */ in a default argument. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment