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
This commit is contained in:
Paolo Carlini 2010-03-18 11:46:15 +00:00
parent bf71e8f028
commit 974ed2fa6e

View File

@ -8352,7 +8352,7 @@ cp_parser_for_init_statement (cp_parser* parser)
return;
}
cp_parser_expression_statement (parser, false);
cp_parser_expression_statement (parser, NULL_TREE);
}
/* Parse a jump-statement.