From 42980a6c6a031ccbad3db0a5d32b7229541ce7f9 Mon Sep 17 00:00:00 2001 From: aamine Date: Tue, 7 May 2002 06:28:06 +0000 Subject: * eval.c (rb_yield_0): The destination of the goto jump was wrong. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ eval.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 77f560e98..f0d72be0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue May 7 15:28:03 2002 Minero Aoki + + * eval.c (rb_yield_0): The destination of the goto jump was wrong. + Tue May 7 09:17:51 2002 Minero Aoki * eval.c (superclass): undesirable "unexpected return" when the diff --git a/eval.c b/eval.c index 77d2f571d..791655627 100644 --- a/eval.c +++ b/eval.c @@ -3797,8 +3797,8 @@ rb_yield_0(val, self, klass, pcall) } } POP_TAG(); - pop_state: POP_ITER(); + pop_state: POP_CLASS(); if (ruby_dyna_vars && (block->flags & BLOCK_D_SCOPE) && !FL_TEST(ruby_dyna_vars, DVAR_DONT_RECYCLE)) { -- cgit