src/lexer-proto.lisp (syntax-error, lexer-error): Improve location handling.
[sod] / src / pset-impl.lisp
index 14cb43b..ecad712 100644 (file)
@@ -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)))
 
 ;;;--------------------------------------------------------------------------