From 01fc71f4b18d06997660cfafc4848da892b76c20 Mon Sep 17 00:00:00 2001 From: Kevin Buhr Date: Wed, 27 May 1998 01:25:47 +0000 Subject: * parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE. From-SVN: r20086 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/parse.c | 2 +- gcc/cp/parse.y | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2097bbf..3785777 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 2ee7230..9c15b96 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 664256e..2963b28 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))) -- cgit v1.1