X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/blobdiff_plain/6ee1970906d33f0b1b2be20e2f8a4521a6ca514f..dc162ca6f0f2bbcb045a03df61c76e37c48d85a7:/src/pset-impl.lisp diff --git a/src/pset-impl.lisp b/src/pset-impl.lisp index 14cb43b..e340389 100644 --- a/src/pset-impl.lisp +++ b/src/pset-impl.lisp @@ -69,9 +69,10 @@ (defmethod coerce-property-value (defmethod coerce-property-value ((value string) (type (eql :id)) (wanted (eql :type))) - (or (gethash value *module-type-map*) - (gethash value *declspec-map*) - (error "Unknown type `~A'." value))) + (or (and (boundp '*module-type-map*) + (gethash value *module-type-map*)) + (find-simple-c-type value) + (error "Unknown type `~A'" value))) ;;;-------------------------------------------------------------------------- ;;; Property sets.