diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-03-17 22:39:23 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-03-17 22:39:23 -0700 |
commit | 3f12582503981f1e138be2ae1f6abdbf12d6fb32 (patch) | |
tree | 5c0d62b7b13bc816a65c0c0d0f662866e726c265 /utf8.c | |
parent | 2c3a4ff60e91bf71911dd8c68f22871a7e11da55 (diff) | |
download | txr-3f12582503981f1e138be2ae1f6abdbf12d6fb32.tar.gz txr-3f12582503981f1e138be2ae1f6abdbf12d6fb32.tar.bz2 txr-3f12582503981f1e138be2ae1f6abdbf12d6fb32.zip |
compiler: use mac-param-bind
It's better to use mac-param-bind than tree-bind because it
provides diagnostics related to the form being destructured.
* share/txr/stdlib/compiler.tl (compiler compile): Pass the
whole form rather than (cdr form) to a number of special form
handlers.
(compiler comp-seq, compiler comp-block, compiler comp-let,
compiler comp-lambda, compiler comp-for): Destructure
arguments with mac-param-bind.
Diffstat (limited to 'utf8.c')
0 files changed, 0 insertions, 0 deletions