Improve Syntax Error Messages and Fix Comments #29

Merged
kayomn merged 4 commits from kym-script-comments into main 2023-07-22 16:08:04 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 62a318e69b - Show all commits

View File

@ -1,5 +1,5 @@
// Test comment.
# Test comment.
@log_info("game is loading")
return {

View File

@ -119,7 +119,7 @@ pub const Tokenizer = struct {
'#' => {
cursor += 1;
while (cursor < self.source.len and self.source[cursor] == '\n') {
while (cursor < self.source.len and self.source[cursor] != '\n') {
cursor += 1;
}
},