Fix cell [#] to mean # cells.

Signed-off-by: Wilson Snyder <[email protected]>
This commit is contained in:
Todd Strader
2015-12-01 18:23:11 -05:00
committed by Wilson Snyder
parent d56ca25089
commit 57f2fe77ea
+1 -1
View File
@@ -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); }
;