Skip to content

Commit 3bd75c5

Browse files
committed
Fix typo in comment
1 parent 3a7b4fc commit 3bd75c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scanner.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ static bool scan_automatic_semicolon(TSLexer *lexer) {
296296

297297
if (sameline) {
298298
switch (lexer->lookahead) {
299-
// Insert imaginary semicolon before an 'import' but in front of other
300-
// words or keywords starting with 'i'
299+
// Insert imaginary semicolon before an 'import' but not in front
300+
// of other words or keywords starting with 'i'
301301
case 'i':
302302
return scan_for_word(lexer, "mport", 5);
303303

0 commit comments

Comments
 (0)