Compare commits
2 Commits
b311c73c43
...
62a318e69b
Author | SHA1 | Date | |
---|---|---|---|
62a318e69b | |||
7c71e0528f |
@ -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,10 +15,14 @@ fn kym_handle_errors(info: kym.ErrorInfo) void {
|
||||
|
||||
var remaining_frames = info.frames.len;
|
||||
|
||||
while (remaining_frames != 0) {
|
||||
remaining_frames -= 1;
|
||||
if (remaining_frames != 0) {
|
||||
app.log_fail("stack trace:");
|
||||
|
||||
app.log_fail(info.frames[remaining_frames].name);
|
||||
while (remaining_frames != 0) {
|
||||
remaining_frames -= 1;
|
||||
|
||||
app.log_fail(info.frames[remaining_frames].name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user