Skip to content

Commit 4568b69

Browse files
authored
Merge pull request #221 from Gompyn/Gompyn-patch-1
Fix `dims` in Java grammar
2 parents 8de667b + 7598c61 commit 4568b69

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)