Compare commits
No commits in common. "62a318e69b3d696fabf592d65ac1b72dc8d48732" and "b311c73c438ffdf579a40842897feceed2ece172" have entirely different histories.
62a318e69b
...
b311c73c43
@ -1,5 +1,5 @@
|
||||
|
||||
# Test comment.
|
||||
// Test comment.
|
||||
@log_info("game is loading")
|
||||
|
||||
return {
|
||||
|
@ -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;
|
||||
}
|
||||
},
|
||||
|
@ -15,15 +15,11 @@ fn kym_handle_errors(info: kym.ErrorInfo) void {
|
||||
|
||||
var remaining_frames = info.frames.len;
|
||||
|
||||
if (remaining_frames != 0) {
|
||||
app.log_fail("stack trace:");
|
||||
|
||||
while (remaining_frames != 0) {
|
||||
remaining_frames -= 1;
|
||||
|
||||
app.log_fail(info.frames[remaining_frames].name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn kym_log_info(env: *kym.RuntimeEnv) kym.RuntimeError!?*kym.RuntimeRef {
|
||||
|
Loading…
x
Reference in New Issue
Block a user