summaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-03-17 22:39:23 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-03-17 22:39:23 -0700
commit3f12582503981f1e138be2ae1f6abdbf12d6fb32 (patch)
tree5c0d62b7b13bc816a65c0c0d0f662866e726c265 /debug.c
parent2c3a4ff60e91bf71911dd8c68f22871a7e11da55 (diff)
downloadtxr-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 'debug.c')
0 files changed, 0 insertions, 0 deletions