diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-12-14 20:03:39 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-12-14 20:03:39 -0800 |
commit | d4e6090d6f5d38e2901686d3b37c19da3ce7d6fa (patch) | |
tree | bcbc5e2756c7cb4a2eed018d9bc16cd2a4aa7345 /tests/011/txr-case.txr | |
parent | a1dbd3f219a2ad552de98d5e9e7b28af975ab47d (diff) | |
download | txr-d4e6090d6f5d38e2901686d3b37c19da3ce7d6fa.tar.gz txr-d4e6090d6f5d38e2901686d3b37c19da3ce7d6fa.tar.bz2 txr-d4e6090d6f5d38e2901686d3b37c19da3ce7d6fa.zip |
Allow :whole and :form to do destructuring.
* eval.c (bind_macro_params): Remove the restriction that the
:whole and :form do not allow a destructuring pattern,
requring strictly a symbol. Common Lisp's &whole also
does destructuring. As a side effect of this change, the :env
parameter also supports destructuring, thought this isn't
going to be meaningful since macro environments aren't lists.
Diffstat (limited to 'tests/011/txr-case.txr')
0 files changed, 0 insertions, 0 deletions