Skip to content

Commit

Permalink
Merge pull request rescript-lang#227 from aspeddro/fix-type-scanner
Browse files Browse the repository at this point in the history
Scanner: add type specifier missing
  • Loading branch information
nkrkv authored Jun 10, 2023
2 parents 66fc95d + 6e572a9 commit 6376fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ bool tree_sitter_rescript_external_scanner_scan(
const bool* valid_symbols
) {
ScannerState* state = (ScannerState*)payload;
const in_string = state->in_quotes || state->in_backticks;
bool in_string = state->in_quotes || state->in_backticks;

while (is_inline_whitespace(lexer->lookahead) && !in_string) {
skip(lexer);
Expand Down

0 comments on commit 6376fa0

Please sign in to comment.