Merge pull request #615 from zachjs/sv-edge

Restrict edge event to SV
This commit is contained in:
Stephen Williams 2022-02-14 21:05:05 -08:00 committed by GitHub
commit 96a1cbf7b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -3403,6 +3403,7 @@ event_expression
svector<PEEvent*>*tl = new svector<PEEvent*>(1);
(*tl)[0] = tmp;
$$ = tl;
pform_requires_sv(@1, "Edge event");
}
| expression
{ PEEvent*tmp = new PEEvent(PEEvent::ANYEDGE, $1);