summaryrefslogtreecommitdiffstats
path: root/match.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-10-06 23:56:02 -0700
committerKaz Kylheku <kaz@kylheku.com>2013-10-06 23:56:02 -0700
commit17c8e76951ea9dc407f07bf2173e8f60ac5efd80 (patch)
treef235f35ec09cf0c82ec6477e94db6fb5edc8038f /match.h
parent7c8c8d326bbb8b9725efa6a3c364d3426a7cdca9 (diff)
downloadtxr-17c8e76951ea9dc407f07bf2173e8f60ac5efd80.tar.gz
txr-17c8e76951ea9dc407f07bf2173e8f60ac5efd80.tar.bz2
txr-17c8e76951ea9dc407f07bf2173e8f60ac5efd80.zip
Improving behavior of op and fixing a bug.
Explicitly specifying @rest using (op ... . @rest) did not work at all. The then-func agument of iff and iffi may now be nil. * eval.c (format_op_arg): New static function. (transform_op): Handle dotted lists ending in @rest or @<num>. (supplement_op_syms): New static function. (expand_op): Add missing numeric arguments, so that all 1 through n are in the list. Trailing rest is now added under different conditions. * lib.c (do_iff): Give thenfun the same behavior on nil that elsefun enjoys. * txr.1: Updated.
Diffstat (limited to 'match.h')
0 files changed, 0 insertions, 0 deletions