diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-25 02:24:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-25 02:24:33 +0000 |
commit | 8a4fb4acba170bae08b2d3c29f380b7a7983efd8 (patch) | |
tree | 18cbd90ec8ad338b847a659e65fc745b4b45f3ee /ChangeLog | |
parent | 165db57cdc91ba422448b1be228a9f70bff08f15 (diff) |
eval.c: rb_frame_callee returns current name
* eval.c (rb_frame_callee): returns the called name of the current
frame, not the previous frame.
* eval.c (prev_frame_callee, prev_frame_func): rename and make static,
as these are used by rb_f_method_name() and rb_f_callee_name() only.
* variable.c (set_const_visibility): use the called name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Sat May 25 11:24:24 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * eval.c (rb_frame_callee): returns the called name of the current + frame, not the previous frame. + + * eval.c (prev_frame_callee, prev_frame_func): rename and make static, + as these are used by rb_f_method_name() and rb_f_callee_name() only. + + * variable.c (set_const_visibility): use the called name. + Sat May 25 08:58:23 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * string.c (rb_str_quote_unprintable): check if argument is a string. |