parse.y (nomods_initdcl0): Do not move stack entries when setting things up as initdcl0_innards expects.

* parse.y (nomods_initdcl0): Do not move stack entries
	when setting things up as initdcl0_innards expects.

From-SVN: r52939
This commit is contained in:
Paul Eggert 2002-04-30 09:34:49 +00:00 committed by Nathan Sidwell
parent 8e44e77e6a
commit b819d9e00b
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2002-04-30 Paul Eggert <eggert@twinsun.com>
* parse.y (nomods_initdcl0): Do not move stack entries
when setting things up as initdcl0_innards expects.
2002-04-29 Jakub Jelinek <jakub@redhat.com>
PR c++/6477

View File

@ -2147,12 +2147,10 @@ notype_initdcl0:
;
nomods_initdcl0:
{ /* Set things up as initdcl0_innards expects. */
$<ftype>$.t = NULL_TREE;
$<ftype>$.lookups = NULL_TREE; }
notype_declarator maybeasm
{ /* Set things up as initdcl0_innards expects. */
$<ttype>3 = $2;
$2 = $1;
$<ftype>1.t = NULL_TREE;
$<ftype>1.lookups = NULL_TREE; }
initdcl0_innards
{}
| constructor_declarator maybeasm maybe_attribute