parse.y (named_complex_class_head_sans_basetype): Remove always true if.
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 11 Aug 2000 13:53:39 +0000 (13:53 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 11 Aug 2000 13:53:39 +0000 (13:53 +0000)
* parse.y (named_complex_class_head_sans_basetype): Remove
always true if.

From-SVN: r35633

gcc/cp/ChangeLog
gcc/cp/parse.y

index 985716935e386a71fd26bbb9b291dff66f811a7f..578f726e161b82b1343edd8f6633b0c3bd1a95dd 100644 (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
index ba01496735183046af4f8c56b456115676560150..09108d40ee72f3681affec0faf5b60204861a17e 100644 (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;
                }
        ;