Skip to content

Commit

Permalink
Merge pull request #2 from wezm/clang
Browse files Browse the repository at this point in the history
Fix error when building with Clang
  • Loading branch information
Jared Ramirez authored Nov 2, 2023
2 parents 6560980 + d9fc339 commit 467dcf9
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 @@ -131,7 +131,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;
const bool in_string = state->in_quotes || state->in_backticks;

if (valid_symbols[TEMPLATE_CHARS]) {
lexer->result_symbol = TEMPLATE_CHARS;
Expand Down

0 comments on commit 467dcf9

Please sign in to comment.