Commit 5426aa7f by Nathan Sidwell Committed by Nathan Sidwell

parse.y (named_complex_class_head_sans_basetype): Remove always true if.

	* parse.y (named_complex_class_head_sans_basetype): Remove
	always true if.

From-SVN: r35633
parent 8117da65
2000-08-11 Nathan Sidwell <nathan@codesourcery.com> 2000-08-11 Nathan Sidwell <nathan@codesourcery.com>
* parse.y (named_complex_class_head_sans_basetype): Remove
always true if.
2000-08-11 Nathan Sidwell <nathan@codesourcery.com>
* decl2.c (build_expr_from_tree, case METHOD_CALL_EXPR): Build * decl2.c (build_expr_from_tree, case METHOD_CALL_EXPR): Build
explicit TEMPLATE_ID_EXPR args. explicit TEMPLATE_ID_EXPR args.
(build_expr_from_tree, case CALL_EXPR): Likewise. (build_expr_from_tree, case CALL_EXPR): Likewise.
......
...@@ -2356,8 +2356,7 @@ named_complex_class_head_sans_basetype: ...@@ -2356,8 +2356,7 @@ named_complex_class_head_sans_basetype:
{ {
current_aggr = $1; current_aggr = $1;
$$.t = $3; $$.t = $3;
if (CP_DECL_CONTEXT ($$.t)) push_scope (CP_DECL_CONTEXT ($$.t));
push_scope (CP_DECL_CONTEXT ($$.t));
$$.new_type_flag = 1; $$.new_type_flag = 1;
} }
; ;
......
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