File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ documentElement
5050 | selectCaseBlock
5151 | whileBlock
5252 | withBlock
53+ | onErrorResumeNextStatement
5354 | basicStatement
5455 | blankLine
5556 ;
@@ -149,6 +150,10 @@ doBlock
149150 doBlockClose
150151 ;
151152
153+ onErrorResumeNextStatement
154+ : ws? ON ws ERROR ws RESUME ws NEXT endOfStatement
155+ ;
156+
152157whileBlockOpen
153158 : ws? WHILE ws expression+ endOfStatement
154159 ;
@@ -259,19 +264,22 @@ ambiguousComponent
259264
260265keywordComponent
261266 : AS
267+ | ASSIGNMENT
262268 | BEGIN
263269 | DO
270+ | ERROR
264271 | FOR
265272 | FUNCTION
266273 | GLOBAL
267274 | IF
268275 | IS
276+ | ON
269277 | PRIVATE
270278 | PROPERTY
271279 | PUBLIC
272- | THEN
280+ | RESUME
273281 | SUB
274- | ASSIGNMENT
282+ | THEN
275283 ;
276284
277285flowCharacter
@@ -362,6 +370,18 @@ WEND
362370 : ' WEND '
363371 ;
364372
373+ ON
374+ : ' ON '
375+ ;
376+
377+ ERROR
378+ : ' ERROR '
379+ ;
380+
381+ RESUME
382+ : ' RESUME '
383+ ;
384+
365385IF
366386 : ' IF '
367387 ;
You can’t perform that action at this time.
0 commit comments