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: r52940
This commit is contained in:
Paul Eggert 2002-04-30 09:35:14 +00:00 committed by Nathan Sidwell
parent f5e0e1f6d0
commit 4a42c73aee
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

@ -2117,12 +2117,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