summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/txr/stdlib/struct.tl4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/txr/stdlib/struct.tl b/share/txr/stdlib/struct.tl
index 424748e7..67b50b9c 100644
--- a/share/txr/stdlib/struct.tl
+++ b/share/txr/stdlib/struct.tl
@@ -261,7 +261,7 @@
((new new*) (if qpairs
^(make-struct ,type (list ,*qpairs) ,*args)
^(struct-from-args ,type ,*args)))
- ((new* lnew*) ^(make-lazy-struct ,type
+ ((lnew lnew*) ^(make-lazy-struct ,type
(lambda ()
(cons (list ,*qpairs)
(list ,*args))))))))
@@ -269,7 +269,7 @@
(let ((type (sys:new-type op form texpr)))
(caseq op
((new new*) ^(struct-from-plist ,type ,*qpairs))
- ((lnew lnew*) ^(make-lazy-struct type
+ ((lnew lnew*) ^(make-lazy-struct ,type
(lambda ()
(list (list ,*qpairs)))))))))))