* parse.y (nomods_initdcl0): Also call cp_finish_decl for a
constructor_declarator.
From-SVN: r18650
+Wed Mar 18 00:24:10 1998 Jason Merrill <jason@yorick.cygnus.com>
+
+ * parse.y (nomods_initdcl0): Also call cp_finish_decl for a
+ constructor_declarator.
+
Tue Mar 17 14:44:54 1998 Mark Mitchell <mmitchell@usa.net>
* typeck2.c (build_x_arrow): Don't crash when an aggregate type
{}
| 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