diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-08 01:46:33 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-08 01:46:33 +0000 |
commit | 2f2cc0ddfc8785ef5cc030159fba6b040836be13 (patch) | |
tree | 8276901c0f944683c93d197655ece4ce000eeda0 /eval.c | |
parent | 2a91610f3a32fa075b77d445b87dccbc4d85bd1d (diff) | |
download | ruby-2f2cc0ddfc8785ef5cc030159fba6b040836be13.tar.gz |
* error.c (errno_missing): Errno.const_missing to allow references
to SyscallError exceptions not defined on the platform.
[ruby-core:04522]
* error.c (Init_syserr): Errno::NOERROR(0) for fallback exception.
* eval.c (block_pass): should not push unique number if a block is
not an orphan. [ruby-dev:25808]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8598,7 +8598,7 @@ rb_block_pass(func, arg, proc) /* PUSH BLOCK from data */ _block = *data; _block.outer = ruby_block; - _block.uniq = block_unique++; + if (orphan) _block.uniq = block_unique++; ruby_block = &_block; PUSH_ITER(ITER_PRE); if (ruby_frame->iter == ITER_NOT) |