fix typo
authorJason Merrill <jason@gcc.gnu.org>
Fri, 11 Jun 2004 05:46:37 +0000 (01:46 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 11 Jun 2004 05:46:37 +0000 (01:46 -0400)
From-SVN: r82961

gcc/cp/parser.c

index 17242ba3457107eae5538b4b1b451bd20ba3b4bb..2f57d9d7a36ab0af2347f12d90af9bd2b5581f7e 100644 (file)
@@ -10732,7 +10732,7 @@ cp_parser_direct_declarator (cp_parser* parser,
                           TYPE_IDENTIFIER (scope));
                  /* Build a new DECLARATOR.  */
                  declarator = build_nt (SCOPE_REF,
-                                        scope,
+                                        type,
                                         TREE_OPERAND (declarator, 1));
                }
            }