Commit 01fc71f4 by Kevin Buhr Committed by Jason Merrill

* parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE.

From-SVN: r20086
parent 8b150cb5
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.
......
......@@ -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)))
......
......@@ -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)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment