diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-01-14 06:20:40 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-01-14 06:20:40 -0800 |
commit | b6c30203f87937861faeda6674911c32d764b2c7 (patch) | |
tree | fd71073480ebd7070b082ada7cef8d83b31c373c /lib.c | |
parent | df8eacf8034abab8c942fce1ea3834e8af767b42 (diff) | |
download | txr-b6c30203f87937861faeda6674911c32d764b2c7.tar.gz txr-b6c30203f87937861faeda6674911c32d764b2c7.tar.bz2 txr-b6c30203f87937861faeda6674911c32d764b2c7.zip |
Bugfix: *print-flo-format* used for integer output.
* lib.c (obj_print_impl): Handle NUM and BGNUM separately from
FLNUM, thorugh a hard-coded "~s" format.
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8526,6 +8526,8 @@ finish: break; case NUM: case BGNUM: + format(out, lit("~s"), obj, nao); + break; case FLNUM: { val fmt = cdr(lookup_var(nil, print_flo_format_s)); |