diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-01 08:56:45 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-01 08:56:45 +0000 |
commit | 53118356b53259b456aabc11fb1212d965251fc4 (patch) | |
tree | cfa16b2fa793fb9a4691f21bd028a0170a598cff /numeric.c | |
parent | 896c0dff6330d461ce428d61df0f60fb8bad07a7 (diff) |
exception model changed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1253,7 +1253,7 @@ fix_zero_p(num) } extern VALUE mComparable; -extern VALUE eException; +extern VALUE eStandardError; void Init_Numeric() @@ -1261,7 +1261,7 @@ Init_Numeric() coerce = rb_intern("coerce"); to_i = rb_intern("to_i"); - eZeroDiv = rb_define_class("ZeroDivisionError", eException); + eZeroDiv = rb_define_class("ZeroDivisionError", eStandardError); cNumeric = rb_define_class("Numeric", cObject); rb_include_module(cNumeric, mComparable); |