diff options
Diffstat (limited to 'src/interp/spaderror.lisp')
-rw-r--r-- | src/interp/spaderror.lisp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/interp/spaderror.lisp b/src/interp/spaderror.lisp index 7d65b506..2967dc27 100644 --- a/src/interp/spaderror.lisp +++ b/src/interp/spaderror.lisp @@ -60,9 +60,8 @@ #-:gcl (defmacro |trapNumericErrors| (form) - `(handler-bind ((division-by-zero - #'(lambda (c) (declare (ignore c)) |%nothing|))) - ,form)) + `(handler-case ,form + (arithmetic-error () |%nothing|))) ;; the following form embeds around the akcl error handler #+:gcl |