diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-01-28 22:29:02 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-01-28 22:29:43 -0800 |
commit | b8966f0bf73f01e1e380a08e6949ccc9ddd45637 (patch) | |
tree | 432fb8cd11319e84500103158bfe482f15b340b1 /ChangeLog | |
parent | 1f4a36cb97cb259ce8209de52229f33b341af9cd (diff) | |
download | txr-b8966f0bf73f01e1e380a08e6949ccc9ddd45637.tar.gz txr-b8966f0bf73f01e1e380a08e6949ccc9ddd45637.tar.bz2 txr-b8966f0bf73f01e1e380a08e6949ccc9ddd45637.zip |
* eval.c (eval_init): Registered existing make_catenated_stream as
intrinsic.
* stream.c (cat_get_line, cat_get_char, cat_get_byte): Do not
remove the last stream from the stream list, so that there is
some stream object there which can take the unget-char or
unget-byte operations.
(cat_unget_byte, cat_unget_char): New static functions.
(cat_stream_ops): unget_char and unget_byte function pointers
filled in.
* txr.1: Documented catenated-streams.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,5 +1,20 @@ 2014-01-28 Kaz Kylheku <kaz@kylheku.com> + * eval.c (eval_init): Registered existing make_catenated_stream as + intrinsic. + + * stream.c (cat_get_line, cat_get_char, cat_get_byte): Do not + remove the last stream from the stream list, so that there is + some stream object there which can take the unget-char or + unget-byte operations. + (cat_unget_byte, cat_unget_char): New static functions. + (cat_stream_ops): unget_char and unget_byte function pointers + filled in. + + * txr.1: Documented catenated-streams. + +2014-01-28 Kaz Kylheku <kaz@kylheku.com> + * stream.c (struct stdio_handle): New member, is_rotated. Moved mode member down. (make_stdio_stream_common): Initialize is_rotated. |