remove error checking

This commit is contained in:
~keith 2022-02-22 06:00:46 +00:00
parent 65fb98c8c4
commit 914d5dfcdc
Signed by: keith
GPG Key ID: 5BEBEEAB2C73D520
1 changed files with 1 additions and 3 deletions

View File

@ -16,9 +16,7 @@
for form = (car entry)
do (setf expr
(cond ((consp form) `(,(car form) ,expr ,@(cdr form)))
((eq form :slot) (prog2
(unless (cadr entry)
(error "Unexpected end of list (expected slot name)"))
((eq form :slot) (prog1
`(slot-value ,expr ',(cadr entry))
(rplacd entry (cddr entry))))
((symbolp form) `(,form ,expr))