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")
|
@log_info("game is loading")
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -119,7 +119,7 @@ pub const Tokenizer = struct {
|
|||||||
'#' => {
|
'#' => {
|
||||||
cursor += 1;
|
cursor += 1;
|
||||||
|
|
||||||
while (cursor < self.source.len and self.source[cursor] != '\n') {
|
while (cursor < self.source.len and self.source[cursor] == '\n') {
|
||||||
cursor += 1;
|
cursor += 1;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -15,16 +15,12 @@ fn kym_handle_errors(info: kym.ErrorInfo) void {
|
|||||||
|
|
||||||
var remaining_frames = info.frames.len;
|
var remaining_frames = info.frames.len;
|
||||||
|
|
||||||
if (remaining_frames != 0) {
|
|
||||||
app.log_fail("stack trace:");
|
|
||||||
|
|
||||||
while (remaining_frames != 0) {
|
while (remaining_frames != 0) {
|
||||||
remaining_frames -= 1;
|
remaining_frames -= 1;
|
||||||
|
|
||||||
app.log_fail(info.frames[remaining_frames].name);
|
app.log_fail(info.frames[remaining_frames].name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
fn kym_log_info(env: *kym.RuntimeEnv) kym.RuntimeError!?*kym.RuntimeRef {
|
fn kym_log_info(env: *kym.RuntimeEnv) kym.RuntimeError!?*kym.RuntimeRef {
|
||||||
app.log_info(try kym.unbox_string(env, try env.view_arg(0)));
|
app.log_info(try kym.unbox_string(env, try env.view_arg(0)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user