diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-03-05 23:48:58 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-03-05 23:48:58 -0800 |
commit | 70f84f0b4d463049ee3be0e37c254d5a7cf931ac (patch) | |
tree | ef42e849768d8c26e599d508ce13a5bdb52b20b9 /ChangeLog | |
parent | b6b7464882986fc24d7e3e6f37b694593d1097a1 (diff) | |
download | txr-70f84f0b4d463049ee3be0e37c254d5a7cf931ac.tar.gz txr-70f84f0b4d463049ee3be0e37c254d5a7cf931ac.tar.bz2 txr-70f84f0b4d463049ee3be0e37c254d5a7cf931ac.zip |
Fixing regression caused by the 2014-02-19 change ("Fixed long-running
issue ...").
* match.c (open_data_source): if c->data is t, but c->files
is nil, set c->data to nil: we cannot possibly open anything later.
(match_files): We need to call open_data_source one more time just
before processing a line with horizontal material. The previous
call(s) to open_data_source might not have opened anything. Before
accesing car(c.data) the correct test is consp(c.data), not c.data. In
the else clause, we now specificially check for nilp(c.data) which is
the correct indicator of no more data. If c.data is any other atom at
that point, we have an internal error, for which an assertion is added
now.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,5 +1,21 @@ 2014-03-05 Kaz Kylheku <kaz@kylheku.com> + Fixing regression caused by the 2014-02-19 change ("Fixed long-running + issue ..."). + + * match.c (open_data_source): if c->data is t, but c->files + is nil, set c->data to nil: we cannot possibly open anything later. + (match_files): We need to call open_data_source one more time just + before processing a line with horizontal material. The previous + call(s) to open_data_source might not have opened anything. Before + accesing car(c.data) the correct test is consp(c.data), not c.data. In + the else clause, we now specificially check for nilp(c.data) which is + the correct indicator of no more data. If c.data is any other atom at + that point, we have an internal error, for which an assertion is added + now. + +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 |