Enable package imports in blocks.
This commit is contained in:
parent
c5c264400e
commit
17f0dd7e6e
6
parse.y
6
parse.y
|
|
@ -2552,6 +2552,10 @@ block_item_decl
|
||||||
|
|
||||||
| type_declaration
|
| type_declaration
|
||||||
|
|
||||||
|
/* Blocks can have imports. */
|
||||||
|
|
||||||
|
| package_import_declaration
|
||||||
|
|
||||||
/* Recover from errors that happen within variable lists. Use the
|
/* Recover from errors that happen within variable lists. Use the
|
||||||
trailing semi-colon to resync the parser. */
|
trailing semi-colon to resync the parser. */
|
||||||
|
|
||||||
|
|
@ -5076,8 +5080,6 @@ module_item
|
||||||
|
|
||||||
| modport_declaration
|
| modport_declaration
|
||||||
|
|
||||||
| package_import_declaration
|
|
||||||
|
|
||||||
/* 1364-2001 and later allow specparam declarations outside specify blocks. */
|
/* 1364-2001 and later allow specparam declarations outside specify blocks. */
|
||||||
|
|
||||||
| attribute_list_opt K_specparam
|
| attribute_list_opt K_specparam
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue