summaryrefslogtreecommitdiffstats
path: root/args.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-01-24 20:29:00 -0800
committerKaz Kylheku <kaz@kylheku.com>2017-01-24 20:29:00 -0800
commitac38be959685701f4992f4e68e313120c6e82297 (patch)
tree7da004fef9266891ce069a65b7aa0e9835adad71 /args.h
parentaf91e7e35cd8277c3a437d9dfddea4c5c313a656 (diff)
downloadtxr-ac38be959685701f4992f4e68e313120c6e82297.tar.gz
txr-ac38be959685701f4992f4e68e313120c6e82297.tar.bz2
txr-ac38be959685701f4992f4e68e313120c6e82297.zip
bugfix: take-while, take-until termination condition.
* lib.c (take_while_list_fun, take_until_list_fun): We must terminate the output list when the output list is empty, and not try to apply the predicate to car(list) in that case.
Diffstat (limited to 'args.h')
0 files changed, 0 insertions, 0 deletions