Fix whitespace skipping in scanner

Once again, implicit fall-through is the devil.
This commit is contained in:
Bruno BELANYI 2022-06-02 22:27:00 +02:00
parent 61f03a116c
commit 751929a058
2 changed files with 40 additions and 1 deletions

View file

@ -29,6 +29,7 @@ static void skip_whitespace(TSLexer *lexer) {
case '\n':
case '\r':
lexer->advance(lexer, true);
break;
default:
return;
}