Skip to content

Commit 789cecb

Browse files
committed
Merge pull request #1124 from retailcoder/CodeExplorer
allow ModuleBodyContext inside MacroStmtContext
2 parents 5cd4cc5 + cd8c727 commit 789cecb

File tree

2 files changed

+2904
-2887
lines changed

2 files changed

+2904
-2887
lines changed

Rubberduck.Parsing/Grammar/VBA.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ macroStmt :
148148
| macroIfThenElseStmt;
149149

150150
moduleBody :
151-
moduleBodyElement (endOfLine+ moduleBodyElement)*;
151+
moduleBodyElement (endOfLine+ moduleBodyElement)* endOfLine*;
152152

153153
moduleBodyElement :
154154
functionStmt

0 commit comments

Comments
 (0)