1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-28 22:27:41 +00:00

Change name of debugp to description. Use it

the repl for easier inspection of structures.
This commit is contained in:
bakpakin
2017-07-02 11:53:51 -04:00
parent 62987de75b
commit 2742e3679d
5 changed files with 91 additions and 87 deletions

View File

@@ -157,7 +157,7 @@ static int debug_repl(Gst *vm) {
continue;
}
if (!debug_compile_and_run(vm, gst_parse_consume(&p), vm->ret)) {
printf("%s\n", gst_to_string(vm, vm->ret));
printf("%s\n", gst_description(vm, vm->ret));
}
}
}