diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-04-19 19:02:18 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-04-19 19:02:18 -0700 |
commit | 97476a28d8aa0c1403d4ba4815f8f07a7caa7b4e (patch) | |
tree | 18759e7871090ca10e44e2c7c0858ec547b439cd /cadr.h | |
parent | 3c95703b632f3ef4fb9327cb6a580a08629453a2 (diff) | |
download | txr-97476a28d8aa0c1403d4ba4815f8f07a7caa7b4e.tar.gz txr-97476a28d8aa0c1403d4ba4815f8f07a7caa7b4e.tar.bz2 txr-97476a28d8aa0c1403d4ba4815f8f07a7caa7b4e.zip |
Allow unlimited character pushback in unget-char.
Fixing read_until_match will require this feature.
* socket.c (dgram_get_char): Treat unget_c as a
cons-based stack; pop a character from it if
available.
(dgram_unget_char): Push the character onto unget_c
rather than storing the characer into unget_c.
* stream.c (stdio_get_char, stdio_unget_char): Closely
analogous changes to the ones in dgram_get_char
and dgram_unget_char, respectively.
* txr.1: Documentation improved and updated.
Diffstat (limited to 'cadr.h')
0 files changed, 0 insertions, 0 deletions