X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/6ee1970906d33f0b1b2be20e2f8a4521a6ca514f..388ab3827ab7c584c30723f5044c2a38cf6fe55d:/src/pset-impl.lisp?ds=sidebyside 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 ((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.