Leak fix - Null sense item shouldn't disable event

This commit is contained in:
Wilson Snyder 2012-05-30 23:15:25 -04:00
parent 5fad666678
commit 4cc5943f90

View File

@ -1810,8 +1810,8 @@ event_control<sentreep>: // ==IEEE: event_control
event_expression<senitemp>: // IEEE: event_expression - split over several
senitem { $$ = $1; }
| event_expression yOR senitem { $$ = $1;$1->addNextNull($3); }
| event_expression ',' senitem { $$ = $1;$1->addNextNull($3); } /* Verilog 2001 */
| event_expression yOR senitem { $$ = $1->addNextNull($3)->castNodeSenItem(); }
| event_expression ',' senitem { $$ = $1->addNextNull($3)->castNodeSenItem(); } /* Verilog 2001 */
;
senitem<senitemp>: // IEEE: part of event_expression, non-'OR' ',' terms