Skip to content

Commit e4bdbd0

Browse files
committed
fix: mark scan static to avoid compile time conflicts with other scanners
1 parent 2616034 commit e4bdbd0

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
@@ -524,7 +524,7 @@ static bool scan_newline(TSLexer *lexer, const bool *valid_symbols) {
524524
return false;
525525
}
526526

527-
bool scan(TSLexer *lexer, const bool *valid_symbols) {
527+
static bool scan(TSLexer *lexer, const bool *valid_symbols) {
528528
int8_t quoted_content_info_idx = find_quoted_token_info(valid_symbols);
529529

530530
// Quoted content, which matches any character except for close

0 commit comments

Comments
 (0)