* numbers.c (mem2uinteger): Return number read so far when coming
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Sat, 13 Oct 2001 12:39:26 +0000 (12:39 +0000)
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Sat, 13 Oct 2001 12:39:26 +0000 (12:39 +0000)
commit1fe5e088ff343c5ba6bc1c85132bac0e0b0101a9
tree386733413911ba03688795d18b567d7889d548a3
parentb7d9b1cf5a1e1736b416e2e2dea1da46710154ba
* numbers.c (mem2uinteger):  Return number read so far when coming
across a hexdigit after having read a # or if not reading a hex
value.  This will enable the calling code to correctly handle
forms like 1e2.  (The background is, that the exponent markers d,
e and f are also hexdigits.)  Thanks to Mikael Djurfeldt for
providing this patch.

(mem2complex):  Fix erroneous double-negation.  Now, numbers like
1-i will be read correctly.
libguile/ChangeLog
libguile/numbers.c