chiark / gitweb /
src/c-types-impl.lisp: Make string -> simple-c-type mapping more useful.
[sod] / src / pset-impl.lisp
index baa38303cf4d22325dec4f273625496603fd3a8d..ecad71236fe61a3e354d1219cac63faa963ad8ac 100644 (file)
@@ -71,7 +71,7 @@ (defmethod coerce-property-value
     ((value string) (type (eql :id)) (wanted (eql :type)))
   (or (and (boundp '*module-type-map*)
           (gethash value *module-type-map*))
-      (gethash value *declspec-map*)
+      (find-simple-c-type value)
       (error "Unknown type `~A'." value)))
 
 ;;;--------------------------------------------------------------------------