diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-09-07 06:09:08 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-09-07 06:09:08 -0700 |
commit | 7409b670226a574119259a7a3d8597314954f12a (patch) | |
tree | be4b01aa959e6d8b2d3a72417fb3e332656f9d92 /struct.c | |
parent | add0e86529a33fae5aa424c7d3f3bbc9854886c1 (diff) | |
download | txr-7409b670226a574119259a7a3d8597314954f12a.tar.gz txr-7409b670226a574119259a7a3d8597314954f12a.tar.bz2 txr-7409b670226a574119259a7a3d8597314954f12a.zip |
Bugfix: nthcdr place not obtaining macro env.
* share/txr/stdlib/place.tl (sys:*pl-env*): New special
variable for passing macro-expansion environment to
expanders.
(call-update-expander, call-clobber-expander,
call-delete-expander): bind sys:*pl-env* with
passed-in env argument, so if the expander needs to itself
recursively expand a macro, it has the macro-time env.
(nthcdr): Do not try to capture :env parameter, because
this will always be nil. Refer to sys:*pl-env* instead.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions