]> git.eshelyaron.com Git - emacs.git/commit
Use overflow-error for bignum overflow
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 Sep 2018 18:21:11 +0000 (11:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 Sep 2018 18:34:43 +0000 (11:34 -0700)
commitfa3785ea5fd73eaba84b8e3b8f988dd53f3a4148
tree3b37f928b5c5b80a92e467f2b49c333e05cf7b3b
parent94297848332f01a18b5a6a7d29f46d03dcd881ec
Use overflow-error for bignum overflow

This better corresponds to what emacs-26 did in the
rare cases where it checked for integer overflow.
* src/alloc.c (range_error): Remove.
All uses changed to overflow_error.
* src/eval.c (overflow_error): New function.
src/alloc.c
src/bignum.c
src/data.c
src/eval.c
src/lisp.h