summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/txr/stdlib/struct.tl18
1 files changed, 9 insertions, 9 deletions
diff --git a/share/txr/stdlib/struct.tl b/share/txr/stdlib/struct.tl
index 2f1692f5..2f9dcfb4 100644
--- a/share/txr/stdlib/struct.tl
+++ b/share/txr/stdlib/struct.tl
@@ -74,9 +74,9 @@
(unless (bindable arg)
(sys:bad-slot-syntax slot))
(when instance-init-form
- (throw 'eval-error
- "~s: duplicate :init"
- 'defstruct))
+ (throwf 'eval-error
+ "~s: duplicate :init"
+ 'defstruct))
(set instance-init-form
(cons arg body))
^(,word nil nil))
@@ -84,9 +84,9 @@
(unless (bindable arg)
(sys:bad-slot-syntax slot))
(when instance-postinit-form
- (throw 'eval-error
- "~s: duplicate :postinit"
- 'defstruct))
+ (throwf 'eval-error
+ "~s: duplicate :postinit"
+ 'defstruct))
(set instance-postinit-form
(cons arg body))
^(,word nil nil))
@@ -94,9 +94,9 @@
(unless (bindable arg)
(sys:bad-slot-syntax slot))
(when instance-fini-form
- (throw 'eval-error
- "~s: duplicate :fini"
- 'defstruct))
+ (throwf 'eval-error
+ "~s: duplicate :fini"
+ 'defstruct))
(set instance-fini-form
(cons arg body))
^(,word nil nil))