@@ -531,7 +531,7 @@ int yyverilogerror(const char *error)
531531// whereas the table gives them in decreasing order.
532532// The precendence of the assertion operators is lower than
533533// those in Table 11-2.
534- %nonassoc " property_expr_event_control " // @(...) property_expr
534+ %nonassoc " property_expr_clocking_event " // @(...) property_expr
535535%nonassoc " always" " s_always" " eventually" " s_eventually"
536536%nonassoc " accept_on" " reject_on"
537537%nonassoc " sync_accept_on" " sync_reject_on"
@@ -2081,8 +2081,10 @@ property_formal_type:
20812081 ;
20822082
20832083property_spec :
2084- TOK_DISABLE TOK_IFF ' (' expression ' )' property_expr
2085- { $$ =$6 ; }
2084+ clocking_event TOK_DISABLE TOK_IFF ' (' expression ' )' property_expr
2085+ { init($$ , ID_sva_disable_iff); mto($$ , $5 ); mto($$ , $7 ); }
2086+ | TOK_DISABLE TOK_IFF ' (' expression ' )' property_expr
2087+ { init($$ , ID_sva_disable_iff); mto($$ , $4 ); mto($$ , $6 ); }
20862088 | property_expr
20872089 ;
20882090
@@ -2163,7 +2165,7 @@ property_expr_proper:
21632165 { init($$ , " sva_sync_accept_on" ); mto($$ , $3 ); }
21642166 | " sync_reject_on" ' (' expression_or_dist ' )'
21652167 { init($$ , " sva_sync_reject_on" ); mto($$ , $3 ); }
2166- | event_control property_expr { $$ =$2 ; } %prec " property_expr_event_control "
2168+ | clocking_event property_expr { $$ =$2 ; } %prec " property_expr_clocking_event "
21672169 ;
21682170
21692171property_case_item_brace :
0 commit comments