diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-17 08:40:52 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-17 08:40:52 +0000 |
commit | ccf99b9ce600ceb1f0360db7af4164a916f03882 (patch) | |
tree | 3603c905bbb81de90e8de49e1b476c96137a7370 /ChangeLog | |
parent | d0a3c64fb4af21a911f2b7553bbddb45dd9e4484 (diff) | |
download | ruby-ccf99b9ce600ceb1f0360db7af4164a916f03882.tar.gz |
* eval.c (ev_const_get): simplified using rb_const_get_fallback().
* eval.c (ev_const_defined): adopt to ev_const_get() using
rb_const_defined_fallback().
* variable.c (rb_const_get_fallback): new function to implement
constant search.
* variable.c (rb_const_defined_fallback): new function to
implement constant definition check.
* variable.c (rb_const_get_0): adopt to new behavior. constants
are looked up in the order of: current class, super classes (but
Object), lexically external classes/modules, and Object.
* variable.c (rb_const_defined_0): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,22 @@ +Fri Feb 17 17:30:20 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * eval.c (ev_const_get): simplified using rb_const_get_fallback(). + + * eval.c (ev_const_defined): adopt to ev_const_get() using + rb_const_defined_fallback(). + + * variable.c (rb_const_get_fallback): new function to implement + constant search. + + * variable.c (rb_const_defined_fallback): new function to + implement constant definition check. + + * variable.c (rb_const_get_0): adopt to new behavior. constants + are looked up in the order of: current class, super classes (but + Object), lexically external classes/modules, and Object. + + * variable.c (rb_const_defined_0): ditto. + Fri Feb 17 11:20:53 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> * util.c (ruby_strtod): Float("1e") should fail. [ruby-core:7330] |