From 01fc71f4b18d06997660cfafc4848da892b76c20 Mon Sep 17 00:00:00 2001 From: Kevin Buhr <buhr@stat.wisc.edu> Date: Wed, 27 May 1998 01:25:47 +0000 Subject: [PATCH] * 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(-) 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 <buhr@stat.wisc.edu> + + * parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE. + 1998-05-26 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu> * 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))) -- GitLab