summaryrefslogtreecommitdiffstats
path: root/genman.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-10-24 18:24:32 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-10-24 18:30:03 -0700
commit3be04e52b94d1f3aecbf70842adc933f7120a846 (patch)
treeb88b1e0d0a027984c70a40f32dfc82b29bfda990 /genman.txr
parent11ae94a3a187292c882e21c17bd2531ca44283ff (diff)
downloadtxr-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 'genman.txr')
0 files changed, 0 insertions, 0 deletions