Skip to content

Commit

Permalink
Fixed sameLineStatement by changing it to be a mainBlockStmt instead …
Browse files Browse the repository at this point in the history
…of a blockStmt.
  • Loading branch information
MDoerner committed Jun 21, 2018
1 parent 5c8cc15 commit aa2a1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rubberduck.Parsing/Grammar/VBAParser.g4
Expand Up @@ -411,7 +411,7 @@ listOrLabel :
lineNumberLabel (whiteSpace? COLON whiteSpace? sameLineStatement?)*
| (COLON whiteSpace?)? sameLineStatement (whiteSpace? COLON whiteSpace? sameLineStatement?)*
;
sameLineStatement : blockStmt;
sameLineStatement : mainBlockStmt;
booleanExpression : expression;

implementsStmt : IMPLEMENTS whiteSpace expression;
Expand Down

0 comments on commit aa2a1af

Please sign in to comment.