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/trunk@8864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
396e297f2d
commit
0ee34e24e3
2 changed files with 5 additions and 1 deletions
|
@ -1,8 +1,11 @@
|
|||
Fri Jul 29 09:57:58 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Fri Jul 29 09:59:38 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_call0): fix calling zsuper from a method with anonymous
|
||||
rest argument. [ruby-dev:26639]
|
||||
|
||||
* eval.c (rb_yield_0): push yielded node instead of yielding.
|
||||
fixed: [yarv-dev:549]
|
||||
|
||||
Thu Jul 28 21:49:17 2005 IWATSUKI Hiroyuki <don@na.rim.or.jp>
|
||||
|
||||
* parse.y (rb_parser_end_seen_p): exclude from ripper.
|
||||
|
|
1
eval.c
1
eval.c
|
@ -4833,6 +4833,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
Reference in a new issue