summaryrefslogtreecommitdiffstats
path: root/combi.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-03-23 22:17:08 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-03-23 22:17:08 -0700
commit878c0dded993f02f19d4a46c365b5bd12e3d9030 (patch)
treebf389f552f85dc6f1247f47ea80df9518f0a57ad /combi.h
parent4eb3be4a62a87e92d3ad674825611b340c1c38e5 (diff)
downloadtxr-878c0dded993f02f19d4a46c365b5bd12e3d9030.tar.gz
txr-878c0dded993f02f19d4a46c365b5bd12e3d9030.tar.bz2
txr-878c0dded993f02f19d4a46c365b5bd12e3d9030.zip
compiler: hoist quoting out of bind expander.
* share/txr/stdlib/compiler.tl (expand-bind-mac-params): Take the context form and error forms as separate arguments instead of calculating one from the other. Moreover, they are no longer assumed to be objects to be quoted and inserted but rather expressions to be substituted into the code directly. This gives the caller flexibility to make them calculated. (compiler comp-tree-bind, compiler comp-tree-case): Make the compensating adjustments to preserve the behavior.
Diffstat (limited to 'combi.h')
0 files changed, 0 insertions, 0 deletions