mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (rb_yield_0): push yielded node instead of yielding.
fixed: [yarv-dev:549] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3332a04e05
commit
c970cc64e4
2 changed files with 18 additions and 12 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Jul 29 09:59:38 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_yield_0): push yielded node instead of yielding.
|
||||
fixed: [yarv-dev:549]
|
||||
|
||||
Thu Jul 28 18:09:55 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tcltklib/stubs.c: When --enable-tcltk-stubs, the initialize
|
||||
|
|
1
eval.c
1
eval.c
|
@ -4764,6 +4764,7 @@ rb_yield_0(val, self, klass, flags, avalue)
|
|||
block = ruby_block;
|
||||
frame = block->frame;
|
||||
frame.prev = ruby_frame;
|
||||
frame.node = cnode;
|
||||
ruby_frame = &(frame);
|
||||
old_cref = (VALUE)ruby_cref;
|
||||
ruby_cref = block->cref;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue