diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-01-28 19:35:09 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-01-28 19:35:09 -0800 |
commit | 5f23e30b998a7d2e42981c02ed6339c1e3659aa4 (patch) | |
tree | ce3f47438b8be1c814d36fed9de337fd73b9a2c5 /stream.h | |
parent | fe6ef8b5e2810495d9ef4620be30806857351202 (diff) | |
download | txr-5f23e30b998a7d2e42981c02ed6339c1e3659aa4.tar.gz txr-5f23e30b998a7d2e42981c02ed6339c1e3659aa4.tar.bz2 txr-5f23e30b998a7d2e42981c02ed6339c1e3659aa4.zip |
@(next): bugfix: nothrow not causing failed match.
* match.c (v_next_impl): Contrary to the documentation and to
"classic" TXR behavior exhibited in compatibility mode,
when @(next "file" :nothrow) fails to open "file", it treats
the situation as a cue to read from standard input, rather
than to treat the situation as a failed match. This is because
complex_open returns nil, and when that is passed to
lazy_stream_cons, that function defaults to standard input.
Diffstat (limited to 'stream.h')
0 files changed, 0 insertions, 0 deletions