diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-10-24 18:24:32 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-10-24 18:30:03 -0700 |
commit | 3be04e52b94d1f3aecbf70842adc933f7120a846 (patch) | |
tree | b88b1e0d0a027984c70a40f32dfc82b29bfda990 /combi.c | |
parent | 11ae94a3a187292c882e21c17bd2531ca44283ff (diff) | |
download | txr-3be04e52b94d1f3aecbf70842adc933f7120a846.tar.gz txr-3be04e52b94d1f3aecbf70842adc933f7120a846.tar.bz2 txr-3be04e52b94d1f3aecbf70842adc933f7120a846.zip |
Don't expand macros in quasiquote expander.
The quasiquote expander does something very odd: it passes the
macro-time environment through its recursion and calls expand
on some forms. Why was this done? Perhaps it helps promote
certain optimizations. In any case, it gets in the way of
being able to expand quasiquotes in a non-macro context.
* eval.c (expand_qquote_rec): Lose menv argument,
and eliminate all expand calls.
(expand_qquote): Lose menv argument, and don't pass it
down to expand_qquote_rec.
(me_qquote): Ignore menv argument; don't pass it down
to expand_qquote.
Diffstat (limited to 'combi.c')
0 files changed, 0 insertions, 0 deletions