summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-11-27 09:05:15 -0800
committerKaz Kylheku <kaz@kylheku.com>2016-11-27 09:05:15 -0800
commit606132c336dbeb0dd8bb851a64c97f2c11b76a85 (patch)
treee4747eb85f1ce738601773a4dcd5ed4e4d333335 /struct.c
parent6cfa2b9042108366d248a5537dfb03802cafdad1 (diff)
downloadtxr-606132c336dbeb0dd8bb851a64c97f2c11b76a85.tar.gz
txr-606132c336dbeb0dd8bb851a64c97f2c11b76a85.tar.bz2
txr-606132c336dbeb0dd8bb851a64c97f2c11b76a85.zip
bugfix: var environment in expansion of defun.
* eval.c (do_expand): When expanding the body of a defun we must create a function shadowing environment which indicates that the function's name is in scope. This must not be done for defmacro; a defmacro doesn't introduce a function binding, and a macros's body doesn't have that macro in scope.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions