summaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-04 03:29:31 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-04 03:29:31 +0000
commit01e82e14de9a218629ac20024dd28343fd137a44 (patch)
treed36cde6deef25fd8bce604a340eb235744976704 /error.c
parent604645535d3b770c88931c813b0239b39dddc5a2 (diff)
downloadruby-01e82e14de9a218629ac20024dd28343fd137a44.tar.gz
ruby-01e82e14de9a218629ac20024dd28343fd137a44.tar.xz
ruby-01e82e14de9a218629ac20024dd28343fd137a44.zip
* error.c (rb_notimplement): should show the name of this func,
not callee. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index d296bff06..2d4bafdf5 100644
--- a/error.c
+++ b/error.c
@@ -1029,7 +1029,7 @@ rb_notimplement(void)
{
rb_raise(rb_eNotImpError,
"The %s() function is unimplemented on this machine",
- rb_id2name(rb_frame_callee()));
+ rb_id2name(rb_frame_this_func()));
}
void