Skip to content

Commit 53a65bb

Browse files
authored
Merge pull request antlr#1653 from prasad83/master
JSON.g4 parser generation leads to symbol conflict (array)
2 parents 28c1da7 + f8a1379 commit 53a65bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

json/JSON.g4

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pair
1717
: STRING ':' value
1818
;
1919

20-
array
20+
arr
2121
: '[' value (',' value)* ']'
2222
| '[' ']'
2323
;
@@ -26,7 +26,7 @@ value
2626
: STRING
2727
| NUMBER
2828
| obj
29-
| array
29+
| arr
3030
| 'true'
3131
| 'false'
3232
| 'null'

0 commit comments

Comments
 (0)