diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-29 01:00:07 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-29 01:00:07 +0000 |
| commit | 1e957ad9b6765a3ba3d9db9b13046c0b50dbbc23 (patch) | |
| tree | 35dd8087f465426421408986e5e1f4828395f6d5 | |
| parent | 77138cc235e5e8ba49982996e33eedb4e200c548 (diff) | |
| download | ruby-1e957ad9b6765a3ba3d9db9b13046c0b50dbbc23.tar.gz ruby-1e957ad9b6765a3ba3d9db9b13046c0b50dbbc23.tar.xz ruby-1e957ad9b6765a3ba3d9db9b13046c0b50dbbc23.zip | |
* eval.c (rb_yield_0): push yielded node instead of yielding.
fixed: [yarv-dev:549]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | eval.c | 1 |
2 files changed, 5 insertions, 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. @@ -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; |
