When an extra slot option is _not_ duplicated, the option is apassed as a singleton

This commit is contained in:
Juan Jose Garcia Ripoll 2012-04-28 11:45:27 +02:00
parent 04db7a27ae
commit 8e98c0b0c2

View file

@ -138,7 +138,10 @@
(:allocation (setf (getf output :allocation) value))
(:type (setf (getf output :type) value))
(:documentation (push value (getf output :documentation)))
(otherwise (push value (getf extra option)))))))))
(otherwise (if (or (getf extra option)
(getf options option))
(push value (getf extra option))
(setf (getf extra option) value)))))))))
(defun parse-slots (slots)
(do ((scan slots (cdr scan))