File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -616,16 +616,11 @@ description:
616
616
| interface_declaration
617
617
| program_declaration
618
618
| package_declaration
619
+ | attribute_instance_brace package_item
619
620
| attribute_instance_brace bind_directive
620
621
| config_declaration
621
- | type_declaration
622
- { PARSER.parse_tree.create_typedef(stack_expr($1 )); }
623
622
;
624
623
625
- /*
626
- | attribute_instance_brace package_item
627
- */
628
-
629
624
module_nonansi_header :
630
625
attribute_instance_brace
631
626
module_keyword
@@ -842,6 +837,19 @@ bind_directive:
842
837
// A.1.11 Package items
843
838
844
839
package_item :
840
+ package_or_generate_item_declaration
841
+ // | anonymous_program
842
+ // | package_export_declaration
843
+ // | timeunits_declaration
844
+ ;
845
+
846
+ package_or_generate_item_declaration :
847
+ net_declaration
848
+ | data_declaration
849
+ | task_declaration
850
+ | function_declaration
851
+ | local_parameter_declaration ' ;'
852
+ | parameter_declaration ' ;'
845
853
;
846
854
847
855
// System Verilog standard 1800-2017
@@ -1958,15 +1966,6 @@ generate_item_or_null:
1958
1966
1959
1967
constant_expression : expression ;
1960
1968
1961
- package_or_generate_item_declaration :
1962
- net_declaration
1963
- | data_declaration
1964
- | task_declaration
1965
- | function_declaration
1966
- | local_parameter_declaration ' ;'
1967
- | parameter_declaration ' ;'
1968
- ;
1969
-
1970
1969
// System Verilog standard 1800-2017
1971
1970
// A.5.1 UDP declaration
1972
1971
You can’t perform that action at this time.
0 commit comments