1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-28 14:17:42 +00:00

Add -env- to repl.

This commit is contained in:
bakpakin
2017-07-09 16:44:45 -04:00
parent 53cead0bab
commit 6a8ec0c895
4 changed files with 4 additions and 4 deletions

View File

@@ -171,6 +171,7 @@ static int debug_repl(Gst *vm, uint64_t flags) {
continue;
}
gst_env_putc(vm, vm->env, "_", vm->ret);
gst_env_putc(vm, vm->env, "-env-", gst_wrap_table(vm->env));
if (!debug_compile_and_run(vm, gst_parse_consume(&p), flags)) {
printf_flags(flags, "36", "%s\n", (const char *) gst_description(vm, vm->ret));
}