* parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE.
authorKevin Buhr <buhr@stat.wisc.edu>
Wed, 27 May 1998 01:25:47 +0000 (01:25 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 27 May 1998 01:25:47 +0000 (21:25 -0400)
From-SVN: r20086

gcc/cp/ChangeLog
gcc/cp/parse.c
gcc/cp/parse.y

index 2097bbf..3785777 100644 (file)
@@ -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.
index 2ee7230..9c15b96 100644 (file)
@@ -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)))
index 664256e..2963b28 100644 (file)
@@ -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)))