Skip to content

Commit 7598c61

Browse files
authored
Fix dims in Java grammar
1 parent 8de667b commit 7598c61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syncode/parsers/grammars/java.lark

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ dim_exprs: dim_expr+
192192

193193
dim_expr: "[" expression "]"
194194

195-
dims: "[" "]"+
195+
dims: ("[" "]")+
196196

197197
field_access: primary "." CNAME | "super" "." CNAME
198198

0 commit comments

Comments
 (0)