1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-16 23:37:15 +00:00

Add error reporting to repl (initial stack traces)

This commit is contained in:
Calvin Rose
2018-03-21 20:53:39 -04:00
parent e114ec0095
commit 0fd55282d8
11 changed files with 186 additions and 62 deletions

View File

@@ -162,6 +162,8 @@ static void dst_mark_funcdef(DstFuncDef *def) {
dst_mark_string(def->source);
if (def->sourcepath)
dst_mark_string(def->sourcepath);
if (def->name)
dst_mark_string(def->name);
}
static void dst_mark_function(DstFunction *func) {