diff --git a/debug/app.ona b/debug/app.ona index 7624b01..042320c 100644 --- a/debug/app.ona +++ b/debug/app.ona @@ -1,5 +1,5 @@ -// Test comment. +# Test comment. @log_info("game is loading") return { diff --git a/source/ona/kym/tokens.zig b/source/ona/kym/tokens.zig index 49e8d0d..76fac23 100755 --- a/source/ona/kym/tokens.zig +++ b/source/ona/kym/tokens.zig @@ -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; } },