* eval.c (block_pass): should increment unique identifier of the

block.  [ruby-talk:96363]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2004-04-02 05:38:07 +00:00
parent c7138f1656
commit 6c70639e7b
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Apr 2 14:35:26 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (block_pass): should increment unique identifier of the
block. [ruby-talk:96363]
Fri Apr 2 11:36:20 2004 Minero Aoki <aamine@loveruby.net>
* eval.c (Init_load): make $LOADED_FEATURES built-in.

1
eval.c
View File

@ -8374,6 +8374,7 @@ block_pass(self, node)
old_block = ruby_block;
_block = *data;
_block.outer = ruby_block;
_block.uniq = block_unique++;
ruby_block = &_block;
PUSH_ITER(ITER_PRE);
if (ruby_frame->iter == ITER_NOT)