@@ -527,7 +527,7 @@ int yyverilogerror(const char *error)
527527// whereas the table gives them in decreasing order.
528528// The precendence of the assertion operators is lower than
529529// those in Table 11-2.
530- %nonassoc " property_expr_event_control " // @(...) property_expr
530+ %nonassoc " property_expr_clocking_event " // @(...) property_expr
531531%nonassoc " always" " s_always" " eventually" " s_eventually"
532532%nonassoc " accept_on" " reject_on"
533533%nonassoc " sync_accept_on" " sync_reject_on"
@@ -2077,8 +2077,10 @@ property_formal_type:
20772077 ;
20782078
20792079property_spec :
2080- TOK_DISABLE TOK_IFF ' (' expression ' )' property_expr
2081- { $$ =$6 ; }
2080+ clocking_event TOK_DISABLE TOK_IFF ' (' expression ' )' property_expr
2081+ { init($$ , ID_sva_disable_iff); mto($$ , $5 ); mto($$ , $7 ); }
2082+ | TOK_DISABLE TOK_IFF ' (' expression ' )' property_expr
2083+ { init($$ , ID_sva_disable_iff); mto($$ , $4 ); mto($$ , $6 ); }
20822084 | property_expr
20832085 ;
20842086
@@ -2159,7 +2161,7 @@ property_expr_proper:
21592161 { init($$ , " sva_sync_accept_on" ); mto($$ , $3 ); }
21602162 | " sync_reject_on" ' (' expression_or_dist ' )'
21612163 { init($$ , " sva_sync_reject_on" ); mto($$ , $3 ); }
2162- | event_control property_expr { $$ =$2 ; } %prec " property_expr_event_control "
2164+ | clocking_event property_expr { $$ =$2 ; } %prec " property_expr_clocking_event "
21632165 ;
21642166
21652167property_case_item_brace :
0 commit comments