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
This commit is contained in:
Nathan Sidwell 2000-08-11 13:53:39 +00:00 committed by Nathan Sidwell
parent 8117da65db
commit 5426aa7faf
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -2356,8 +2356,7 @@ named_complex_class_head_sans_basetype:
{
current_aggr = $1;
$$.t = $3;
if (CP_DECL_CONTEXT ($$.t))
push_scope (CP_DECL_CONTEXT ($$.t));
push_scope (CP_DECL_CONTEXT ($$.t));
$$.new_type_flag = 1;
}
;