diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-01-16 02:20:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-01-16 02:20:25 +0000 |
commit | 4e787e1242e1a63b55c030e9e0164e00130fd1c6 (patch) | |
tree | d487751d1461586d18ae2078f6b712ddf79d7228 /class.c | |
parent | eaf9eddac65ca2a80039b8d0794cb9b8270c1950 (diff) | |
download | ruby-4e787e1242e1a63b55c030e9e0164e00130fd1c6.tar.gz ruby-4e787e1242e1a63b55c030e9e0164e00130fd1c6.tar.xz ruby-4e787e1242e1a63b55c030e9e0164e00130fd1c6.zip |
* object.c (rb_Float): remove underscores between digits.
* bignum.c (rb_cstr2inum): reject prefix followed by spaces only.
* class.c (rb_class_inherited): should use Object when no super
class.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r-- | class.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -170,6 +170,7 @@ VALUE rb_class_inherited(super, klass) VALUE super, klass; { + if (!super) super = rb_cObject; return rb_funcall(super, rb_intern("inherited"), 1, klass); } |