diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-06-10 07:43:39 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-06-10 07:43:39 -0700 |
commit | 6b66641f1b03b959f15c1c63f6dc055264809410 (patch) | |
tree | 3c6bf51c69b3a43075a7cb1e63d148fd3c1c4d91 /share | |
parent | 5761d2e6c82f5234d4e63a49bc0a59ab69bbf0ed (diff) | |
download | txr-6b66641f1b03b959f15c1c63f6dc055264809410.tar.gz txr-6b66641f1b03b959f15c1c63f6dc055264809410.tar.bz2 txr-6b66641f1b03b959f15c1c63f6dc055264809410.zip |
format: fix precision field leading zero problems.
* stream.c (formatv): Do not recognize multiple leading zeros
as a single one; once the zero flag is set, if another zero is
seen, it must be treated as one of the digits specifying the
precision value. New requirement: before processing a format
specifier, check for the situation that the leading zero
has been specified, but no precision. Convert this situation
to that of a precision of zero being given, with no leading
zero.
* txr.1: Document the ambiguity around the leading zero and
how it is being handled when only the leading zero flag is
given, and no actual precision. Add a note about what happens
when zero precision is specified in ~a in conjunction with
a floating-point value. Misspelled "pas" word fixed.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions