summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-12-27 23:04:16 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-12-27 23:04:16 -0800
commitd2488974756c21c064ddd293fbb72d5a85b91e12 (patch)
tree2227deeebffff94136a0bcda897a46b01ac350c5 /lib.h
parentf5a48f7de36c0bbfb29da51af13bec2ed5a9ca7f (diff)
downloadtxr-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