Skip to content

Commit 6318f15

Browse files
committed
fixup: scanner
1 parent 9260050 commit 6318f15

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/scanner.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@ static bool scan(Scanner *scanner, TSLexer *lexer, const bool *valid_symbols) {
368368
}
369369
break;
370370

371+
case '\r':
372+
break;
373+
371374
default:
372375
advanced_once |= lexer->lookahead != '\n';
373376
advance(lexer);

0 commit comments

Comments
 (0)