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 }
|
| "@" "(" "*)" { SenseStar }
|
||||||
|
| "@" "*" { SenseStar }
|
||||||
| "@*" { SenseStar }
|
| "@*" { SenseStar }
|
||||||
| "@" Identifier { Sense $ LHSIdent $2 }
|
| "@" Identifier { Sense $ LHSIdent $2 }
|
||||||
Senses :: { Sense }
|
Senses :: { Sense }
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ module top;
|
||||||
`define TEST(sense) always sense $display(`"sense %b`", x);
|
`define TEST(sense) always sense $display(`"sense %b`", x);
|
||||||
reg x, y;
|
reg x, y;
|
||||||
`TEST(@*)
|
`TEST(@*)
|
||||||
|
`TEST(@ *)
|
||||||
`TEST(@x)
|
`TEST(@x)
|
||||||
`TEST(@y)
|
`TEST(@y)
|
||||||
`TEST(@ ( * ))
|
`TEST(@ ( * ))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue