mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-22 13:57:18 +02:00
Support typedefs in class definitions.
This commit is contained in:
@@ -877,8 +877,7 @@ class_item /* IEEE1800-2005: A.1.8 */
|
|||||||
| property_qualifier_opt K_typedef data_type IDENTIFIER dimensions_opt ';'
|
| property_qualifier_opt K_typedef data_type IDENTIFIER dimensions_opt ';'
|
||||||
{ perm_string name = lex_strings.make($4);
|
{ perm_string name = lex_strings.make($4);
|
||||||
delete[]$4;
|
delete[]$4;
|
||||||
yyerror(@2, "sorry: Class-local typedefs not yet supported.");
|
pform_set_typedef(name, $3, $5);
|
||||||
delete $3;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* IEEE1800-1017: A.1.9 Class items: Class methods... */
|
/* IEEE1800-1017: A.1.9 Class items: Class methods... */
|
||||||
|
|||||||
Reference in New Issue
Block a user