mirror of
https://github.com/janet-lang/janet
synced 2025-09-21 20:24:11 +00:00
Revert change to propagate op code.
This commit is contained in:
@@ -1065,11 +1065,7 @@ static JanetSignal run_vm(JanetFiber *fiber, Janet in) {
|
|||||||
janet_status_names[sub_status]);
|
janet_status_names[sub_status]);
|
||||||
}
|
}
|
||||||
fiber->child = f;
|
fiber->child = f;
|
||||||
if (janet_checktype(stack[B], JANET_NIL)) {
|
vm_return((int) sub_status, stack[B]);
|
||||||
vm_return((int) sub_status, f->last_value);
|
|
||||||
} else {
|
|
||||||
vm_return((int) sub_status, stack[B]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
VM_OP(JOP_CANCEL) {
|
VM_OP(JOP_CANCEL) {
|
||||||
|
Reference in New Issue
Block a user