diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-12-27 23:04:16 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-12-27 23:04:16 -0800 |
commit | d2488974756c21c064ddd293fbb72d5a85b91e12 (patch) | |
tree | 2227deeebffff94136a0bcda897a46b01ac350c5 /lib.h | |
parent | f5a48f7de36c0bbfb29da51af13bec2ed5a9ca7f (diff) | |
download | txr-d2488974756c21c064ddd293fbb72d5a85b91e12.tar.gz txr-d2488974756c21c064ddd293fbb72d5a85b91e12.tar.bz2 txr-d2488974756c21c064ddd293fbb72d5a85b91e12.zip |
Fix exception in @(freeform) over interactive input.
This is caused by the ("str0" "str1" .. "strn" nil)
representation put out by the interactive style lazy list.
The lazy string force function doesn't like the nil.
Quick and dirty fix applied here.
* lib.c (lazy_str_force, lazy_str_force_upto): If a nil comes
out of lstr->ls.list, break out of the loop as if the list
ended.
Diffstat (limited to 'lib.h')
0 files changed, 0 insertions, 0 deletions