fix typename decl asgn lookahead (resolves #49)

This commit is contained in:
Zachary Snow
2019-09-25 19:34:42 -04:00
parent c7f51209df
commit 76663c78a0
3 changed files with 32 additions and 9 deletions
+7
View File
@@ -0,0 +1,7 @@
typedef wire b_t;
module top(
input a [1:0],
input b_t b
);
initial $display("%d %d %1d %1d", a, b, $bits(a), $bits(b));
endmodule
+6
View File
@@ -0,0 +1,6 @@
module top(
input [1:0] a,
input wire b
);
initial $display("%d %d %1d %1d", a, b, $bits(a), $bits(b));
endmodule