Skip to content

Commit b997085

Browse files
committed
Fix whitespace vs tab in the lexer.
1 parent d018afc commit b997085

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Rubberduck.Parsing/Grammar/VBALexer.g4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,10 @@ LINE_CONTINUATION : [ \t]+ UNDERSCORE [ \t]* '\r'? '\n' WS_NOT_FOLLOWED_BY_LINE_
305305
// The following rule is needed in order to capture hex literals without format prefixes which start with a digit. Needed for VBForm resources.
306306
BARE_HEX_LITERAL : [0-9] [0-9a-fA-F]*;
307307
fragment WS_NOT_FOLLOWED_BY_LINE_CONTINUATION : [ \t] {(char)_input.La(1) != '_'
308-
|| ((char)_input.La(2) != '\r'
309-
&& (char)_input.La(2) != '\n'
310-
&& (char)_input.La(2) != '\t'
311-
&& (char)_input.La(2) != ' ')}?;
308+
|| ((char)_input.La(2) != '\r'
309+
&& (char)_input.La(2) != '\n'
310+
&& (char)_input.La(2) != '\t'
311+
&& (char)_input.La(2) != ' ')}?;
312312
fragment LETTER : [a-zA-Z_äöüÄÖÜ];
313313
fragment DIGIT : [0-9];
314314
fragment LETTERORDIGIT : [a-zA-Z0-9_äöüÄÖÜ];

0 commit comments

Comments
 (0)