Skip to content

Commit

Permalink
Fixed definition of LINE_CONTINUATION to make the leading space of ta…
Browse files Browse the repository at this point in the history
…b non-optional.
  • Loading branch information
MDoerner committed Jul 17, 2018
1 parent 37f84fd commit f8c3ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rubberduck.Parsing/Grammar/VBALexer.g4
Expand Up @@ -301,7 +301,7 @@ UNDERSCORE : '_';
WS : [ \t];
GUIDLITERAL : '{' [0-9A-F]+ '-' [0-9A-F]+ '-' [0-9A-F]+ '-' [0-9A-F]+ '-' [0-9A-F]+ '}';
IDENTIFIER : ~[[\](){}\r\n\t.,'"|!@#$%^&*\-+:=; 0-9-/\\-] ~[[\](){}\r\n\t.,'"|!@#$%^&*\-+:=; -]*;
LINE_CONTINUATION : [ \t]* UNDERSCORE [ \t]* '\r'? '\n';
LINE_CONTINUATION : [ \t]+ UNDERSCORE [ \t]* '\r'? '\n';
// The following rule is needed in order to capture hex literals without format prefixes which start with a digit. Needed for VBForm resources.
BARE_HEX_LITERAL : [0-9] [0-9a-fA-F]*;
fragment LETTER : [a-zA-Z_äöüÄÖÜ];
Expand Down

0 comments on commit f8c3ecd

Please sign in to comment.