]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
parse.y (nomods_initdcl0): Set up the parser stack correctly.
authorMumit Khan <khan@xraylith.wisc.edu>
Fri, 2 Oct 1998 01:09:36 +0000 (01:09 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 2 Oct 1998 01:09:36 +0000 (19:09 -0600)
* parse.y (nomods_initdcl0): Set up the parser stack correctly.

From-SVN: r22738

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

index a1e91276cebdc4585c46e64defbc1989d62cb097..e654bdfbd48021b38c60dd0f45a2f12c98756fea 100644 (file)
@@ -1,3 +1,7 @@
+Fri Oct  2 02:07:26 1998  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * parse.y (nomods_initdcl0): Set up the parser stack correctly.
+
 1998-08-25  Jason Merrill  <jason@yorick.cygnus.com>
 
        * decl.c (duplicate_decls): Don't complain about different
index 1113c15ba9565b902efe6efb97c1ebcfa57fd320..61a0d8773313547d02f3aac40c0cd902d91ac492 100644 (file)
@@ -1883,7 +1883,7 @@ notype_initdcl0:
 nomods_initdcl0:
           notype_declarator maybeasm
             { /* Set things up as initdcl0_innards expects.  */
-             $<ttype>$ = $1; 
+             $<ttype>2 = $1; 
               $1 = NULL_TREE; }
           initdcl0_innards 
             {}