Commit 77ee49a8 by Zachary Snow

allow space between @ and *

parent 47c05c04
...@@ -1176,6 +1176,7 @@ EventControl :: { Sense } ...@@ -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; ...@@ -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(@ ( * ))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment