1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
aamine 2002-05-07 06:28:06 +00:00
parent bc66ac228c
commit 58284a74e9
2 changed files with 5 additions and 1 deletions

View file

@ -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

2
eval.c
View file

@ -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)) {