Skip to content

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mjambon committed Oct 18, 2024
1 parent 3a7b4fc commit 3bd75c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ static bool scan_automatic_semicolon(TSLexer *lexer) {

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

Expand Down

0 comments on commit 3bd75c5

Please sign in to comment.