Skip to content

Commit

Permalink
update enum comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jackschu committed Jul 1, 2024
1 parent 6ecd457 commit 04fd122
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 @@ -48,9 +48,9 @@ static bool scan_template_chars(TSLexer *lexer) {
}

enum WhitespaceResult {
REJECT,
REJECT, // Semicolon is illegal, ie a syntax error occurred
NO_NEWLINE, // Unclear if semicolon will be legal, continue
ACCEPT, // Semicolon is legal due to comment
ACCEPT, // Semicolon is legal, assuming a comment was encountered
};

/**
Expand Down

0 comments on commit 04fd122

Please sign in to comment.