OSDN Git Service

* parse.y (nomods_initdcl0): Properly set things up for
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jan 2001 13:24:27 +0000 (13:24 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jan 2001 13:24:27 +0000 (13:24 +0000)
initdcl0_innards.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39119 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 8409ce3..23eecef 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 dca0992..b827b98 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