Skip to content

Commit b6188b3

Browse files
committed
fix: Closes #41, wrong pointer to same charakter
1 parent aeb285b commit b6188b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

uvl/Java/UVLJavaLexer.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ NEWLINE: (
110110
String newLine = getText().replaceAll("[^\r\n]+", "");
111111
String spaces = getText().replaceAll("[\r\n]+", "");
112112
int next = _input.LA(1);
113-
int nextNext = _input.LA(1);
113+
int nextNext = _input.LA(2);
114114
115115
if (opened > 0 || next == '\r' || next == '\n' || (next == '/' && nextNext == '/')) {
116116
// If we're inside a list or on a blank line, ignore all indents,

0 commit comments

Comments
 (0)