diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-04-03 20:57:55 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-04-03 20:57:55 -0700 |
commit | 291f788ebfd09702b47973301a56e89aadf76b49 (patch) | |
tree | c4885643f104500482d52f056d8477add1d489c7 /socket.c | |
parent | afad01168d6506a828eb7cd76e5e06ef02733501 (diff) | |
download | txr-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 'socket.c')
0 files changed, 0 insertions, 0 deletions