summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-07 06:28:06 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-07 06:28:06 +0000
commit58284a74e9edee85e18b652bd6a62f23f2dd50a8 (patch)
treecb7468b7e2244c507895b15be99b9f9f47d5973d
parentbc66ac228c9e1ab8f0f8335a386c75bb6c1d92d2 (diff)
* eval.c (rb_yield_0): The destination of the goto jump was wrong.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--eval.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 77f560e98e..f0d72be0c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue May 7 15:28:03 2002 Minero Aoki <aamine@loveruby.net>
+
+ * eval.c (rb_yield_0): The destination of the goto jump was wrong.
+
Tue May 7 09:17:51 2002 Minero Aoki <aamine@loveruby.net>
* eval.c (superclass): undesirable "unexpected return" when the
diff --git a/eval.c b/eval.c
index 77d2f571d8..7916556273 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)) {