File tree Expand file tree Collapse file tree 2 files changed +2523
-2439
lines changed
Rubberduck.Parsing/Grammar Expand file tree Collapse file tree 2 files changed +2523
-2439
lines changed Original file line number Diff line number Diff line change @@ -360,17 +360,17 @@ macroIfThenElseStmt : macroIfBlockStmt macroElseIfBlockStmt* macroElseBlockStmt?
360
360
361
361
macroIfBlockStmt :
362
362
MACRO_IF WS ? ifConditionStmt WS THEN NEWLINE +
363
- (moduleBody NEWLINE + )?
363
+ ((moduleDeclarationsElement | moduleBody | block) NEWLINE * )?
364
364
;
365
365
366
366
macroElseIfBlockStmt :
367
367
MACRO_ELSEIF WS ? ifConditionStmt WS THEN NEWLINE +
368
- (moduleBody NEWLINE + )?
368
+ ((moduleDeclarationsElement | moduleBody | block) NEWLINE * )?
369
369
;
370
370
371
371
macroElseBlockStmt :
372
372
MACRO_ELSE NEWLINE +
373
- (moduleBody NEWLINE + )?
373
+ ((moduleDeclarationsElement | moduleBody | block) NEWLINE * )?
374
374
;
375
375
376
376
midStmt : MID WS ? LPAREN WS ? argsCall WS ? RPAREN ;
You can’t perform that action at this time.
0 commit comments