summaryrefslogtreecommitdiffstats
path: root/env.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-12 07:39:12 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-12 07:39:12 +0000
commit59fb892558bfb91f3468abb659dc56c64b0e46b7 (patch)
treec6552503cdefea1749c7252d551911170c05e255 /env.h
parent123771da6b9a73aaa6051d4d37105c34ba9b8d72 (diff)
downloadruby-59fb892558bfb91f3468abb659dc56c64b0e46b7.tar.gz
ruby-59fb892558bfb91f3468abb659dc56c64b0e46b7.tar.xz
ruby-59fb892558bfb91f3468abb659dc56c64b0e46b7.zip
* bignum.c (rb_big_cmp): use dbl2big() for Floats, instead of
big2dbl(). * bignum.c (Init_Bignum): rb_big_zero_p() removed. There may be Bignum zero. * eval.c (rb_call0): new argument added for original method name. preserve original method name in frame->orig_func. * eval.c (is_defined): use frame->orig_func, not last_func. * eval.c (rb_eval): ditto. * eval.c (method_call): supply data->oid also to rb_call0(). * object.c (rb_class_allocate_instance): call rb_obj_alloc() when called from alias, thus invoke original "allocate". * eval.c (remove_method): removing allocate from classes should cause NameError. * hash.c (rb_hash_equal): should check default values. * ext/socket/socket.c (s_recvfrom): update RSTRING len. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'env.h')
-rw-r--r--env.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/env.h b/env.h
index b185d1262..c3b6d20b5 100644
--- a/env.h
+++ b/env.h
@@ -18,6 +18,7 @@ extern struct FRAME {
int argc;
VALUE *argv;
ID last_func;
+ ID orig_func;
VALUE last_class;
VALUE cbase;
struct FRAME *prev;