summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 7697213016..2da03409ab 100644
--- a/eval.c
+++ b/eval.c
@@ -4685,6 +4685,7 @@ static void
f_END()
{
PUSH_FRAME();
+ the_frame->argc = 0;
rb_set_end_proc(call_end_proc, f_lambda());
POP_FRAME();
}