summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/txr/stdlib/struct.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/txr/stdlib/struct.tl b/share/txr/stdlib/struct.tl
index ca3de714..56d27e0a 100644
--- a/share/txr/stdlib/struct.tl
+++ b/share/txr/stdlib/struct.tl
@@ -220,7 +220,7 @@
(((pref sym) . more)
(if (eq pref t)
(let ((s (gensym)))
- ^(let ((,s (slot ,obj ',sym)))
+ ^(let ((,s (qref ,obj ,sym)))
(if ,s (qref ,s ,*more))))
:))
(((dw sym . args))