summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-07 06:09:08 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-07 06:09:08 -0700
commit7409b670226a574119259a7a3d8597314954f12a (patch)
treebe4b01aa959e6d8b2d3a72417fb3e332656f9d92 /struct.c
parentadd0e86529a33fae5aa424c7d3f3bbc9854886c1 (diff)
downloadtxr-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