summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-01 08:56:45 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-01 08:56:45 +0000
commit53118356b53259b456aabc11fb1212d965251fc4 (patch)
treecfa16b2fa793fb9a4691f21bd028a0170a598cff /numeric.c
parent896c0dff6330d461ce428d61df0f60fb8bad07a7 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numeric.c b/numeric.c
index 053ad10151..72c1137e3a 100644
--- a/numeric.c
+++ b/numeric.c
@@ -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);