Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.

Commit ca077d8

Browse files
committed
Fix parse error on dim statement
Addresses #110
1 parent 12dc954 commit ca077d8

File tree

7 files changed

+955
-913
lines changed

7 files changed

+955
-913
lines changed

bin/wist-fmt.js

100644100755
File mode changed.

dist/libwist.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/libwist.wasm

526 Bytes
Binary file not shown.

src/antlr/BrightScript.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ conditionalCompilationIfElseBlockStatement
8989
;
9090

9191
dimStatement
92-
: DIM identifier OPEN_BRACKET parameterList CLOSE_BRACKET
92+
: DIM identifier OPEN_BRACKET (INT_LITERAL COMMA?)* CLOSE_BRACKET
9393
;
9494

9595
endStatement

0 commit comments

Comments
 (0)