]> git.eshelyaron.com Git - emacs.git/commit
Fix assertion failure when reading 'BIGNUM.'
authorPaul Eggert <eggert@Penguin.CS.UCLA.EDU>
Tue, 21 Aug 2018 22:49:01 +0000 (15:49 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 21 Aug 2018 22:51:05 +0000 (15:51 -0700)
commitf8069952abf147d090032ad6b941a728cad2c496
tree44c5b5e6bbec09c14f5758fc6335c2e1fa207d76
parentf18af6cd5cb7dbbf7420ec2d3efed4e202c4f0dd
Fix assertion failure when reading 'BIGNUM.'

Problem reported by Stefan Monnier (Bug#32476).
* src/lread.c (string_to_number): Don't pass leading "+"
or trailing "." or junk to make_bignum_str.
* test/src/lread-tests.el (lread-string-to-number-trailing-dot):
New test.
src/lread.c
test/src/lread-tests.el