summaryrefslogtreecommitdiffstats
path: root/buf.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-04-03 20:57:55 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-04-03 20:57:55 -0700
commit291f788ebfd09702b47973301a56e89aadf76b49 (patch)
treec4885643f104500482d52f056d8477add1d489c7 /buf.c
parentafad01168d6506a828eb7cd76e5e06ef02733501 (diff)
downloadtxr-291f788ebfd09702b47973301a56e89aadf76b49.tar.gz
txr-291f788ebfd09702b47973301a56e89aadf76b49.tar.bz2
txr-291f788ebfd09702b47973301a56e89aadf76b49.zip
compiler: rewrite incorrect defmacro expander.
* share/txr/stdlib/compiler.tl (expand-defmacro): We cannot simply generate a mac-param-bind form because that has no means to pass through the all-important macro environment parameter; its expansion is carried out by expand-bind-mac-params with an nil environment parameter. Instead, we retarget to use expand-bind-mac-params directly, and supply the parameter gensym.
Diffstat (limited to 'buf.c')
0 files changed, 0 insertions, 0 deletions