allow space between @ and *

This commit is contained in:
Zachary Snow 2021-08-19 16:01:45 -06:00
parent 47c05c04b8
commit 77ee49a80e
2 changed files with 2 additions and 0 deletions

View File

@ -1176,6 +1176,7 @@ EventControl :: { Sense }
| "@" "(" "*" ")" { SenseStar }
| "@" "(*" ")" { SenseStar }
| "@" "(" "*)" { SenseStar }
| "@" "*" { SenseStar }
| "@*" { SenseStar }
| "@" Identifier { Sense $ LHSIdent $2 }
Senses :: { Sense }

View File

@ -2,6 +2,7 @@ module top;
`define TEST(sense) always sense $display(`"sense %b`", x);
reg x, y;
`TEST(@*)
`TEST(@ *)
`TEST(@x)
`TEST(@y)
`TEST(@ ( * ))