Skip to content

Commit f77fea4

Browse files
committed
Added tests for attributes and members allowing attributes and fixed the grammar to make them pass.
1 parent 69bf21a commit f77fea4

File tree

5 files changed

+2108
-3
lines changed

5 files changed

+2108
-3
lines changed

Rubberduck.Parsing/Grammar/VBAParser.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ moduleVariableStmt :
109109

110110
moduleBody :
111111
whiteSpace?
112-
(moduleBodyElement endOfStatement)*;
112+
((moduleBodyElement | attributeStmt) endOfStatement)*;
113113

114114
moduleBodyElement :
115115
functionStmt

0 commit comments

Comments
 (0)