diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-22 04:48:52 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-22 04:48:52 +0000 |
commit | 7c36ce8ac3efdb899fe479011af3b3da18bae561 (patch) | |
tree | 8006036c98680136b7470af4431d95663fcfffec /ruby.h | |
parent | 22b217dc6fcdf142195ea29a28f5ace02b9a624b (diff) | |
download | ruby-7c36ce8ac3efdb899fe479011af3b3da18bae561.tar.gz ruby-7c36ce8ac3efdb899fe479011af3b3da18bae561.tar.xz ruby-7c36ce8ac3efdb899fe479011af3b3da18bae561.zip |
* hash.c (rb_hash_rehash): add iteration check. [ruby-dev:24301]
* st.c (st_foreach): add deep check.
* hash.c (rb_hash_fetch): returns KeyError instead of IndexError.
* hash.c (env_fetch): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -604,6 +604,7 @@ RUBY_EXTERN VALUE rb_eFatal; RUBY_EXTERN VALUE rb_eArgError; RUBY_EXTERN VALUE rb_eEOFError; RUBY_EXTERN VALUE rb_eIndexError; +RUBY_EXTERN VALUE rb_eKeyError; RUBY_EXTERN VALUE rb_eRangeError; RUBY_EXTERN VALUE rb_eIOError; RUBY_EXTERN VALUE rb_eRuntimeError; |