aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index cf61825a97..eb00963279 100644
--- a/eval.c
+++ b/eval.c
@@ -8105,7 +8105,7 @@ rb_callcc(self)
return th->result;
}
else {
- return rb_yield(th->thread);
+ return rb_yield(cont);
}
}