vm: minor fixes.

db4
John Benediktsson 2015-08-04 07:49:50 -07:00
parent 22bd11c4a4
commit 5c0d8c7e4f
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ enum context_object {
/* When the callstack fills up (e.g by to deep recursion), a callstack
overflow error is triggered. So before continuing executing on it
in general_error(), we chop of this many bytes to have some space
in general_error(), we chop off this many bytes to have some space
to work with. */
static const cell stack_reserved = 4096;

View File

@ -445,8 +445,8 @@ void factor_vm::factorbug_usage(bool advanced_p) {
}
static void exit_fep(factor_vm* vm) {
vm->unlock_console();
vm->handle_ctrl_c();
unlock_console();
handle_ctrl_c();
vm->fep_p = false;
}