summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-09 07:07:31 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-09 07:07:31 -0700
commit2133b51a65f59b74f0e848d273056f1d11f7f9e9 (patch)
tree312a835673242ec64f1c345039fba714212c25af /share
parentab77a519ba5d9ad21a1cc732d78b6b49e9ca2c2b (diff)
downloadtxr-2133b51a65f59b74f0e848d273056f1d11f7f9e9.tar.gz
txr-2133b51a65f59b74f0e848d273056f1d11f7f9e9.tar.bz2
txr-2133b51a65f59b74f0e848d273056f1d11f7f9e9.zip
Fix fun, symbol-function and symbol-value places.
* share/txr/stdlib/place.tl (defplace fun, defplace symbol-function, defplace symbol-value): Fix incorrect splicing substitution of body into the output.
Diffstat (limited to 'share')
-rw-r--r--share/txr/stdlib/place.tl10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/txr/stdlib/place.tl b/share/txr/stdlib/place.tl
index 256f8592..8b1b4379 100644
--- a/share/txr/stdlib/place.tl
+++ b/share/txr/stdlib/place.tl
@@ -549,7 +549,7 @@
(getter setter
^(macrolet ((,getter () ^(fun ,',sym))
(,setter (val) ^(sys:setqf ,',sym ,val)))
- ,*body))
+ ,body))
:
(deleter
^(macrolet ((,deleter (:env env)
@@ -558,7 +558,7 @@
\ thus not deletable"
',sym))
^(fmakunbound ',',sym)))
- ,*body)))
+ ,body)))
(defun sys:get-fb (sym)
(or (gethash sys:top-fb sym)
@@ -570,11 +570,11 @@
^(let ((,binding-sym (sys:get-fb ,sym-expr)))
(macrolet ((,getter () ^(cdr ,',binding-sym))
(,setter (val) ^(sys:rplacd ,',binding-sym ,val)))
- ,*body))))
+ ,body))))
:
(deleter
^(macrolet ((,deleter () ^(fmakunbound ,',sym-expr)))
- ,*body)))
+ ,body)))
(defun sys:get-vb (sym)
(or (gethash sys:top-vb sym)
@@ -586,7 +586,7 @@
^(let ((,binding-sym (sys:get-vb ,sym-expr)))
(macrolet ((,getter () ^(cdr ,',binding-sym))
(,setter (val) ^(sys:rplacd ,',binding-sym ,val)))
- ,*body))))
+ ,body))))
:
(deleter
^(macrolet ((,deleter () ^(makunbound ,',sym-expr)))