From 60bc4e0dcbf6fc60f6d7ca539153eb7707fc4e54 Mon Sep 17 00:00:00 2001 From: jason Date: Wed, 18 Mar 1998 00:31:01 +0000 Subject: [PATCH] * parse.y (nomods_initdcl0): Also call cp_finish_decl for a constructor_declarator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18650 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/parse.y | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2882a298774..ec69afe5f11 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 18 00:24:10 1998 Jason Merrill + + * parse.y (nomods_initdcl0): Also call cp_finish_decl for a + constructor_declarator. + Tue Mar 17 14:44:54 1998 Mark Mitchell * typeck2.c (build_x_arrow): Don't crash when an aggregate type diff --git a/gcc/cp/parse.y b/gcc/cp/parse.y index 5d8dc28a804..d159fcd9513 100644 --- a/gcc/cp/parse.y +++ b/gcc/cp/parse.y @@ -2091,7 +2091,8 @@ nomods_initdcl0: {} | constructor_declarator maybeasm maybe_attribute { tree d; - parse_decl($1, NULL_TREE, $3, 0, &d); } + parse_decl($1, NULL_TREE, $3, 0, &d); + cp_finish_decl (d, NULL_TREE, $2, 1, 0); } ; /* the * rules are dummies to accept the Apollo extended syntax -- 2.11.4.GIT