scm: Support reading negative hex numbers.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 26 Mar 2017 22:11:05 +0000 (00:11 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 26 Mar 2017 22:11:05 +0000 (00:11 +0200)
commit22880ac83114fd4989ad3e231063278f63ebfbae
tree31a735abb0e19f5d4126234fd35bf415c5421c9d
parent44755ceff278c509256dfb4b0e2343f0c233c003
scm: Support reading negative hex numbers.

* module/mes/read-0.mes (read-hex): Support negative hex numbers.
* tests/math.test ("#x-10"): New test.
* tests/read.test: Add test.
module/mes/read-0-32.mo
module/mes/read-0.mes
tests/math.test
tests/read.test