diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-05-24 21:10:23 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-05-24 21:10:23 +0900 |
| commit | d9227aa41d8e626e7ff706f2d8cb94fea08658a9 (patch) | |
| tree | 7182e564c665056820d0ecc47394c0cabeadfaf3 /src/error.c | |
| parent | 34d9043c81e8db4d40f65334e025c36a1b7bc179 (diff) | |
| download | mruby-d9227aa41d8e626e7ff706f2d8cb94fea08658a9.tar.gz mruby-d9227aa41d8e626e7ff706f2d8cb94fea08658a9.zip | |
remove ZeroDivisionError since mruby gives float for integer division
Diffstat (limited to 'src/error.c')
| -rw-r--r-- | src/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.c b/src/error.c index 5b32e3a00..feaa04af7 100644 --- a/src/error.c +++ b/src/error.c @@ -443,7 +443,7 @@ mrb_init_exception(mrb_state *mrb) #ifdef INCLUDE_ENCODING mrb_define_class(mrb, "EncodingError", mrb->eStandardError_class); #endif - mrb_define_class(mrb, "ZeroDivisionError", mrb->eStandardError_class); /* 15.2.30 */ + // mrb_define_class(mrb, "ZeroDivisionError", mrb->eStandardError_class); /* 15.2.30 */ mrb_define_class(mrb, "FloatDomainError", eRangeError); mrb_define_class(mrb, "KeyError", eIndexError); |
