From: Kevin Buhr Date: Wed, 27 May 1998 01:25:47 +0000 (+0000) Subject: * parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE. X-Git-Tag: prereleases/egcs-1.1-prerelease~1059 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01fc71f4b18d06997660cfafc4848da892b76c20;p=thirdparty%2Fgcc.git * parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE. From-SVN: r20086 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2097bbf7d756..378577715588 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1998-05-27 Kevin Buhr + + * parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE. + 1998-05-26 Kriang Lerdsuwanakij * pt.c (process_template_parm): Accept TYPENAME_TYPE nodes. diff --git a/gcc/cp/parse.c b/gcc/cp/parse.c index 2ee723056d9a..9c15b963369a 100644 --- a/gcc/cp/parse.c +++ b/gcc/cp/parse.c @@ -6022,7 +6022,7 @@ case 483: tree type = TREE_TYPE (yyvsp[0].ttype); if (current_aggr == signature_type_node) error ("access and source specifiers not allowed in signature"); - if (! IS_AGGR_TYPE (type)) + if (! is_aggr_type (type, 1)) yyval.ttype = NULL_TREE; else if (current_aggr == signature_type_node && (! type) && (! IS_SIGNATURE (type))) diff --git a/gcc/cp/parse.y b/gcc/cp/parse.y index 664256e51902..2963b288ea9f 100644 --- a/gcc/cp/parse.y +++ b/gcc/cp/parse.y @@ -2206,7 +2206,7 @@ base_class: tree type = TREE_TYPE ($3); if (current_aggr == signature_type_node) error ("access and source specifiers not allowed in signature"); - if (! IS_AGGR_TYPE (type)) + if (! is_aggr_type (type, 1)) $$ = NULL_TREE; else if (current_aggr == signature_type_node && (! type) && (! IS_SIGNATURE (type)))