summaryrefslogtreecommitdiffstats
path: root/unwind.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-07-11 22:45:48 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-07-11 22:45:48 -0700
commit974532041c1eaeb55c9fcb4c395e4da5f19a4773 (patch)
tree6b71ae2d02f9b6fc43b6e34fd301df1d3d30e0c8 /unwind.c
parentafe3787a368ec6753ed9a69867b943a3238d5796 (diff)
downloadtxr-974532041c1eaeb55c9fcb4c395e4da5f19a4773.tar.gz
txr-974532041c1eaeb55c9fcb4c395e4da5f19a4773.tar.bz2
txr-974532041c1eaeb55c9fcb4c395e4da5f19a4773.zip
New :lists feature in @(collect)/@(coll).
This is for those situations when multiple lists are being collected, and must all be bound even if empty. Yet, the lists are independent rather than parallel, so the discipline of :vars is too rigid. * match.c (lists_k): New keyword symbol variable. (h_coll, v_collect): Extract :lists argument as local variable lists, validate that :lists is not used on @(repeat)/@(rep) and implement logic. (match_expand_keyword_args): Treat expansion of :lists the same way as :vars. (syms_init): Initialize lists_k. * match.c (lists_k): Declared. * txr.1: Documented.
Diffstat (limited to 'unwind.c')
0 files changed, 0 insertions, 0 deletions