Commit 6489f188 by Mark Mitchell Committed by Mark Mitchell

typeck.c (build_x_unary_op): Take note of the fact that PREINCREMENT_EXPR and…

typeck.c (build_x_unary_op): Take note of the fact that PREINCREMENT_EXPR and POSTINCREMENT_EXPR are binary...

	* typeck.c (build_x_unary_op): Take note of the fact that
	PREINCREMENT_EXPR and POSTINCREMENT_EXPR are binary operations on
	trees.

From-SVN: r69161
parent 279b8466
2003-07-09 Mark Mitchell <mark@codesourcery.com>
* typeck.c (build_x_unary_op): Take note of the fact that
PREINCREMENT_EXPR and POSTINCREMENT_EXPR are binary operations on
trees.
* parser.c (cp_parser_primary_expression): Preserve the form of
qualified expressions in templates, even if they are not
dependent.
......
......@@ -3756,7 +3756,7 @@ build_x_unary_op (enum tree_code code, tree xarg)
}
if (processing_template_decl && exp != error_mark_node)
return build_min (code, TREE_TYPE (exp), orig_expr);
return build_min (code, TREE_TYPE (exp), orig_expr, NULL_TREE);
return exp;
}
......
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