Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6376fa0

Browse files
authored
Merge pull request #227 from aspeddro/fix-type-scanner
Scanner: add type specifier missing
2 parents 66fc95d + 6e572a9 commit 6376fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/scanner.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ bool tree_sitter_rescript_external_scanner_scan(
151151
const bool* valid_symbols
152152
) {
153153
ScannerState* state = (ScannerState*)payload;
154-
const in_string = state->in_quotes || state->in_backticks;
154+
bool in_string = state->in_quotes || state->in_backticks;
155155

156156
while (is_inline_whitespace(lexer->lookahead) && !in_string) {
157157
skip(lexer);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /