Skip to content
Snippets Groups Projects
Commit 7b1c73bf authored by ram's avatar ram
Browse files

Changed DEFTYPE to use INFO instead of plist hackery.

parent 1c8771de
No related branches found
No related tags found
No related merge requests found
...@@ -188,7 +188,8 @@ ...@@ -188,7 +188,8 @@
:error-string 'deftype-error-string :error-string 'deftype-error-string
) )
`(eval-when (compile load eval) `(eval-when (compile load eval)
(setf (get ',name 'deftype-expander) (setf (info type kind name) :defined)
(setf (info type expander name)
#'(lambda (,whole) ,@local-decs (block ,name ,body))) #'(lambda (,whole) ,@local-decs (block ,name ,body)))
,@(when doc ,@(when doc
`((setf (documentation ',name 'type) ,doc))) `((setf (documentation ',name 'type) ,doc)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment