summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-12 07:42:35 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-12 07:42:35 +0000
commit3a7020854d43c4d29ca5cd9013e3af139f378548 (patch)
tree2a73f7f17fa97d74f5580248e39f39765747d573 /eval.c
parent2322a131272f705139fb1e6bbcf1d85a0205e8b0 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 2e90e78..e206ae5 100644
--- a/eval.c
+++ b/eval.c
@@ -5635,6 +5635,9 @@ call_end_proc(data)
{
PUSH_ITER(ITER_NOT);
PUSH_FRAME();
+ ruby_frame->self = ruby_frame->prev->self;
+ ruby_frame->last_func = 0;
+ ruby_frame->last_class = 0;
proc_call(data, Qundef);
POP_FRAME();
POP_ITER();