mirror of https://github.com/zachjs/sv2v.git
allow space between @ and *
This commit is contained in:
parent
47c05c04b8
commit
77ee49a80e
|
|
@ -1176,6 +1176,7 @@ EventControl :: { Sense }
|
|||
| "@" "(" "*" ")" { SenseStar }
|
||||
| "@" "(*" ")" { SenseStar }
|
||||
| "@" "(" "*)" { SenseStar }
|
||||
| "@" "*" { SenseStar }
|
||||
| "@*" { SenseStar }
|
||||
| "@" Identifier { Sense $ LHSIdent $2 }
|
||||
Senses :: { Sense }
|
||||
|
|
|
|||
|
|
@ -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(@ ( * ))
|
||||
|
|
|
|||
Loading…
Reference in New Issue