diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-03-23 22:17:08 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-03-23 22:17:08 -0700 |
commit | 878c0dded993f02f19d4a46c365b5bd12e3d9030 (patch) | |
tree | bf389f552f85dc6f1247f47ea80df9518f0a57ad /tests/005 | |
parent | 4eb3be4a62a87e92d3ad674825611b340c1c38e5 (diff) | |
download | txr-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 'tests/005')
0 files changed, 0 insertions, 0 deletions