Commit af6f30c4 by Richard Kenner

(structsp): Correct error in last change.

From-SVN: r9270
parent 7e6f1890
......@@ -1325,11 +1325,13 @@ structsp:
{ $$ = start_struct (UNION_TYPE, $2); }
component_decl_list '}' maybe_attribute
{ $$ = finish_struct ($<ttype>4, $5);
decl_attributes ($$, $5, NULL_TREE);
decl_attributes ($$, $7, NULL_TREE);
}
| UNION '{' component_decl_list '}'
| UNION '{' component_decl_list '}' maybe_attribute
{ $$ = finish_struct (start_struct (UNION_TYPE, NULL_TREE),
$3); }
$3);
decl_attributes ($$, $5, NULL_TREE);
}
| UNION identifier
{ $$ = xref_tag (UNION_TYPE, $2); }
| ENUM identifier '{'
......
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