File tree Expand file tree Collapse file tree 3 files changed +3203
-3158
lines changed
Rubberduck.Parsing/Grammar Expand file tree Collapse file tree 3 files changed +3203
-3158
lines changed Original file line number Diff line number Diff line change @@ -359,18 +359,18 @@ macroConstStmt : MACRO_CONST WS? ambiguousIdentifier WS? EQ WS? valueStmt;
359
359
macroIfThenElseStmt : macroIfBlockStmt macroElseIfBlockStmt* macroElseBlockStmt? MACRO_END_IF ;
360
360
361
361
macroIfBlockStmt :
362
- MACRO_IF WS ? ifConditionStmt WS THEN NEWLINE +
363
- ((moduleDeclarationsElement | moduleBody | block) NEWLINE *)?
362
+ MACRO_IF WS ? ifConditionStmt WS THEN NEWLINE *
363
+ ((moduleDeclarationsElement | moduleBody | block) NEWLINE *)*
364
364
;
365
365
366
366
macroElseIfBlockStmt :
367
- MACRO_ELSEIF WS ? ifConditionStmt WS THEN NEWLINE +
368
- ((moduleDeclarationsElement | moduleBody | block) NEWLINE *)?
367
+ MACRO_ELSEIF WS ? ifConditionStmt WS THEN NEWLINE *
368
+ ((moduleDeclarationsElement | moduleBody | block) NEWLINE *)*
369
369
;
370
370
371
371
macroElseBlockStmt :
372
- MACRO_ELSE NEWLINE +
373
- ((moduleDeclarationsElement | moduleBody | block) NEWLINE *)?
372
+ MACRO_ELSE NEWLINE *
373
+ ((moduleDeclarationsElement | moduleBody | block) NEWLINE *)*
374
374
;
375
375
376
376
midStmt : MID WS ? LPAREN WS ? argsCall WS ? RPAREN ;
@@ -797,8 +797,8 @@ LSET : L S E T;
797
797
MACRO_CONST : ' #' C O N S T WS ;
798
798
MACRO_IF : ' #' I F WS ;
799
799
MACRO_ELSEIF : ' #' E L S E I F WS ;
800
- MACRO_ELSE : ' #' E L S E WS ;
801
- MACRO_END_IF : ' #' E N D WS I F ;
800
+ MACRO_ELSE : ' #' E L S E NEWLINE ;
801
+ MACRO_END_IF : ' #' E N D WS I F NEWLINE ;
802
802
ME : M E ;
803
803
MID : M I D ;
804
804
MKDIR : M K D I R ;
You can’t perform that action at this time.
0 commit comments