The extra options for direct slots must also be grouped into lists

This commit is contained in:
Juanjo Garcia-Ripoll 2012-04-27 17:06:08 +02:00
parent d8547c5531
commit c21807d17c

View file

@ -114,7 +114,7 @@
(value nil)
(extra nil))
((null options)
(nconc output (nreverse extra)))
(nconc output extra))
(let ((option (pop options)))
(when (endp options)
(si::simple-program-error
@ -138,7 +138,7 @@
(:allocation (setf (getf output :allocation) value))
(:type (setf (getf output :type) value))
(:documentation (push value (getf output :documentation)))
(otherwise (setf extra (list* value option extra)))))))))
(otherwise (push value (getf extra option)))))))))
(defun parse-slots (slots)
(do ((scan slots (cdr scan))