diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-03-05 01:31:46 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-03-05 01:43:17 -0800 |
commit | b6b7464882986fc24d7e3e6f37b694593d1097a1 (patch) | |
tree | 023d4ae7cb67b099c882526f9952e089dde92dcc /ChangeLog | |
parent | 67ac7a217bdfd6e4a813cc6caa68a75fb754e28b (diff) | |
download | txr-b6b7464882986fc24d7e3e6f37b694593d1097a1.tar.gz txr-b6b7464882986fc24d7e3e6f37b694593d1097a1.tar.bz2 txr-b6b7464882986fc24d7e3e6f37b694593d1097a1.zip |
* stream.c (vformat): Fix broken parsing of parameteric width and
precision (i.e. given by *). The simplest way to do this is to add a
state vf_star which is similar to vf_digits, and reuses much of the
logic via a goto. Fixing forgotten --fmt (push back char) when moving
from vf_precision to vf_spec state due to unhandled character.
Also, allowing a leading zero before a precision given as *
so that computed precisions can be combined with zero padding.
* txr.1: Documented leading zero better so it is clear it
combines with *. Restructured documentation.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,18 @@ 2014-03-05 Kaz Kylheku <kaz@kylheku.com> + * stream.c (vformat): Fix broken parsing of parameteric width and + precision (i.e. given by *). The simplest way to do this is to add a + state vf_star which is similar to vf_digits, and reuses much of the + logic via a goto. Fixing forgotten --fmt (push back char) when moving + from vf_precision to vf_spec state due to unhandled character. + Also, allowing a leading zero before a precision given as * + so that computed precisions can be combined with zero padding. + + * txr.1: Documented leading zero better so it is clear it + combines with *. Restructured documentation. + +2014-03-05 Kaz Kylheku <kaz@kylheku.com> + * stream.c (put_line): Default string argument to empty string. (stream_init): Change how put_line is registered to take advantage of new optional parameter. |