]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/cp/parse.y
decl.c (pushdecl): Don't copy the type_decl.
[gcc.git] / gcc / cp / parse.y
index 8f04278b8927bb067539ca9a0f228bf1d99d4530..664256e519020f978fed1e82577d03aec02ef03c 100644 (file)
@@ -2740,10 +2740,10 @@ complex_direct_notype_declarator:
        | direct_notype_declarator '[' ']'
                { $$ = build_parse_node (ARRAY_REF, $$, NULL_TREE); }
        | notype_qualified_id
-               { if (OP0 ($$) != current_class_type)
+               { if (OP0 ($1) != current_class_type)
                    {
-                     push_nested_class (OP0 ($$), 3);
-                     TREE_COMPLEXITY ($$) = current_class_depth;
+                     push_nested_class (OP0 ($1), 3);
+                     TREE_COMPLEXITY ($1) = current_class_depth;
                    }
                }
         | nested_name_specifier notype_template_declarator
This page took 0.031485 seconds and 5 git commands to generate.