File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -864,6 +864,13 @@ class_items /* IEEE1800-2005: A.1.2 */
864864 | class_item
865865 ;
866866
867+ pure_virtual_method_decl /* IEEE1800-2012: A.1.9 */
868+ : K_pure K_virtual K_task IDENTIFIER ';'
869+ | K_pure K_virtual K_task IDENTIFIER '(' tf_port_list_opt ')' ';'
870+ | K_pure K_virtual K_function data_type_or_implicit_or_void IDENTIFIER ';'
871+ | K_pure K_virtual K_function data_type_or_implicit_or_void IDENTIFIER '(' tf_port_list_opt ')' ';'
872+ ;
873+
867874class_item /* IEEE1800-2005: A.1.8 */
868875
869876 /* IEEE1800 A.1.8: class_constructor_declaration */
@@ -907,6 +914,8 @@ class_item /* IEEE1800-2005: A.1.8 */
907914 | method_qualifier_opt function_declaration
908915 { /* The function_declaration rule puts this into the class */ }
909916
917+ | pure_virtual_method_decl
918+
910919 /* External class method definitions... */
911920
912921 | K_extern method_qualifier_opt K_function K_new ';'
@@ -1811,7 +1820,7 @@ loop_variables /* IEEE1800-2005: A.6.8 */
18111820 }
18121821 ;
18131822
1814- method_qualifier /* IEEE1800-2005 : A.1.8 */
1823+ method_qualifier /* IEEE1800-2012 : A.1.9 */
18151824 : K_virtual
18161825 | class_item_qualifier
18171826 ;
You can’t perform that action at this time.
0 commit comments