1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-31 23:53:02 +00:00

Add apply special form. TODO -

make into function.
This commit is contained in:
Calvin Rose
2017-04-19 09:43:49 -04:00
parent 01e8749f39
commit fb3abf5a31
2 changed files with 64 additions and 0 deletions

View File

@@ -317,6 +317,7 @@ int gst_continue(Gst *vm) {
gst_assert(vm, v1.data.thread->status != GST_THREAD_DEAD, "cannot rejoin dead thread");
gst_frame_pc(stack) = pc + 3;
vm->thread = v1.data.thread;
vm->thread->status = GST_THREAD_ALIVE;
stack = vm->thread->data + vm->thread->count;
pc = gst_frame_pc(stack);
continue;