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