diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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. @@ -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) |