From 51e8c352b344d01bae9f6f357c87b67c03eb9223 Mon Sep 17 00:00:00 2001 From: Mumit Khan Date: Fri, 2 Oct 1998 01:09:36 +0000 Subject: [PATCH] parse.y (nomods_initdcl0): Set up the parser stack correctly. * parse.y (nomods_initdcl0): Set up the parser stack correctly. From-SVN: r22738 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/parse.y | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a1e91276cebd..e654bdfbd480 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +Fri Oct 2 02:07:26 1998 Mumit Khan + + * parse.y (nomods_initdcl0): Set up the parser stack correctly. + 1998-08-25 Jason Merrill * decl.c (duplicate_decls): Don't complain about different diff --git a/gcc/cp/parse.y b/gcc/cp/parse.y index 1113c15ba956..61a0d8773313 100644 --- a/gcc/cp/parse.y +++ b/gcc/cp/parse.y @@ -1883,7 +1883,7 @@ notype_initdcl0: nomods_initdcl0: notype_declarator maybeasm { /* Set things up as initdcl0_innards expects. */ - $$ = $1; + $2 = $1; $1 = NULL_TREE; } initdcl0_innards {} -- 2.47.2