summaryrefslogtreecommitdiff
path: root/eval_jump.h
diff options
context:
space:
mode:
Diffstat (limited to 'eval_jump.h')
-rw-r--r--eval_jump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_jump.h b/eval_jump.h
index ff45080178..c3673114da 100644
--- a/eval_jump.h
+++ b/eval_jump.h
@@ -102,7 +102,7 @@ rb_f_catch(VALUE dmy, VALUE tag)
th->tag->tag = tag;
if ((state = EXEC_TAG()) == 0) {
- val = rb_yield_0(tag, 0, 0, 0, Qfalse);
+ val = rb_yield_0(1, &tag);
}
else if (state == TAG_THROW && th->errinfo == tag) {
val = th->tag->retval;