Commit 974ed2fa by Paolo Carlini

re PR c++/43418 (trunk rev157534. compile c++ with --enable-build-with-cxx fails…

re PR c++/43418 (trunk rev157534. compile c++ with --enable-build-with-cxx fails in cp_parser_for_init_statement)

2010-03-18  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/43418
	* parser.c (cp_parser_for_init_statement): Use NULL_TREE, not
	false, in the cp_parser_expression_statement call.

From-SVN: r157536
parent bf71e8f0
...@@ -8352,7 +8352,7 @@ cp_parser_for_init_statement (cp_parser* parser) ...@@ -8352,7 +8352,7 @@ cp_parser_for_init_statement (cp_parser* parser)
return; return;
} }
cp_parser_expression_statement (parser, false); cp_parser_expression_statement (parser, NULL_TREE);
} }
/* Parse a jump-statement. /* Parse a jump-statement.
......
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