parse.y (nomods_initdcl0): Properly set things up for initdcl0_innards.
authorJakub Jelinek <jakub@redhat.com>
Thu, 18 Jan 2001 13:24:27 +0000 (14:24 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 18 Jan 2001 13:24:27 +0000 (14:24 +0100)
* parse.y (nomods_initdcl0): Properly set things up for
initdcl0_innards.

From-SVN: r39119

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

index 8409ce3eb6be8009c6a49aad484b586c6280bcc2..23eecef71ae7cfbc98c2ae3c82e5b23e66d09563 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-18  Jakub Jelinek  <jakub@redhat.com>
+
+       * parse.y (nomods_initdcl0): Properly set things up for
+       initdcl0_innards.
+
 2001-01-18  Nathan Sidwell  <nathan@codesourcery.com>
 
        * pt.c (UNIFY_ALLOW_OUTER_LEVEL): New unify flag.
index dca09921a2d809498f96f6b520fb5f290548797a..b827b984627634a7df555349535f6adee958672a 100644 (file)
@@ -2072,8 +2072,10 @@ notype_initdcl0:
 nomods_initdcl0:
           notype_declarator maybeasm
             { /* Set things up as initdcl0_innards expects.  */
-             $<ttype>2 = $1; 
-              $1 = NULL_TREE; }
+             $<ttype>3 = $2;
+             $2 = $1; 
+              $<ftype>1.t = NULL_TREE;
+             $<ftype>1.lookups = NULL_TREE; }
           initdcl0_innards 
             {}
        | constructor_declarator maybeasm maybe_attribute