diff options
author | Kevin Buhr <buhr@stat.wisc.edu> | 1998-05-27 01:25:47 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-05-26 21:25:47 -0400 |
commit | 01fc71f4b18d06997660cfafc4848da892b76c20 (patch) | |
tree | 7a27c420923a8f402f30bb5d17fef4748089d04d /gcc | |
parent | 8b150cb5beaec0beadc1aa30ba9630fcd8476237 (diff) | |
download | gcc-01fc71f4b18d06997660cfafc4848da892b76c20.zip gcc-01fc71f4b18d06997660cfafc4848da892b76c20.tar.gz gcc-01fc71f4b18d06997660cfafc4848da892b76c20.tar.bz2 |
* parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE.
From-SVN: r20086
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/parse.c | 2 | ||||
-rw-r--r-- | gcc/cp/parse.y | 2 |
3 files changed, 6 insertions, 2 deletions
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 <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 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))) |