chiark
/
gitweb
/
~mdw
/
lisp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
base: with-parsed-body, different interface.
[lisp]
/
mdw-mop.lisp
diff --git
a/mdw-mop.lisp
b/mdw-mop.lisp
index 85e78853c76a11b14f2944e23e3b6c1494818710..d578f51c88aec266744b021bc8f7e39c532a1169 100644
(file)
--- a/
mdw-mop.lisp
+++ b/
mdw-mop.lisp
@@
-106,10
+106,7
@@
(defmacro with-slot-variables (slots instance &body body)
(listify slots)
(mapcar #'slot-definition-name
(class-slots class))))))
(listify slots)
(mapcar #'slot-definition-name
(class-slots class))))))
- (multiple-value-bind
- (docs decls body)
- (parse-body body :allow-docstring-p nil)
- (declare (ignore docs))
+ (with-parsed-body (body decls) body
(with-gensyms (instvar)
`(let ((,instvar ,instance))
,@(and class `((declare (type ,(class-name class) ,instvar))))
(with-gensyms (instvar)
`(let ((,instvar ,instance))
,@(and class `((declare (type ,(class-name class) ,instvar))))