mirror of
https://github.com/verilator/verilator.git
synced 2026-10-02 16:13:34 +02:00
Fix cell [#] to mean # cells.
Signed-off-by: Wilson Snyder <[email protected]>
This commit is contained in:
committed by
Wilson Snyder
parent
d56ca25089
commit
57f2fe77ea
+1
-1
@@ -2060,7 +2060,7 @@ instnameParen<cellp>:
|
||||
|
||||
instRangeE<rangep>:
|
||||
/* empty */ { $$ = NULL; }
|
||||
| '[' constExpr ']' { $$ = new AstRange($1,$2,$2->cloneTree(true)); }
|
||||
| '[' constExpr ']' { $$ = new AstRange($1,new AstConst($1,0),$2); }
|
||||
| '[' constExpr ':' constExpr ']' { $$ = new AstRange($1,$2,$4); }
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user