X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fcode%2Fdefbangtype.lisp;h=d59b7c1294603a2d020b9110c0b0a545a72e8b48;hb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;hp=7c58c4d37ea2babe4ce16326b1fa41525051046d;hpb=79cc569a97e444389350ea3f5b1017374fe16bec;p=sbcl.git diff --git a/src/code/defbangtype.lisp b/src/code/defbangtype.lisp index 7c58c4d..d59b7c1 100644 --- a/src/code/defbangtype.lisp +++ b/src/code/defbangtype.lisp @@ -31,11 +31,11 @@ (defmacro def!type (name &rest rest) `(progn (deftype ,name ,@rest) - #+sb-xc-host + #+sb-xc-host ,(let ((form `(sb!xc:deftype ,(uncross name) ,@rest))) - (if (boundp '*delayed-def!types*) - `(push ',form *delayed-def!types*) - form)))) + (if (boundp '*delayed-def!types*) + `(push ',form *delayed-def!types*) + form)))) ;;; machinery to implement DEF!TYPE delays #+sb-xc-host @@ -45,12 +45,12 @@ (/show "done binding *DELAYED-DEF!TYPES*") (defun force-delayed-def!types () (if (boundp '*delayed-def!types*) - (progn - (mapc #'eval *delayed-def!types*) - (makunbound '*delayed-def!types*)) - ;; This condition is probably harmless if it comes up when - ;; interactively experimenting with the system by loading a - ;; source file into it more than once. But it's worth warning - ;; about it because it definitely shouldn't come up in an - ;; ordinary build process. - (warn "*DELAYED-DEF!TYPES* is already unbound.")))) + (progn + (mapc #'eval *delayed-def!types*) + (makunbound '*delayed-def!types*)) + ;; This condition is probably harmless if it comes up when + ;; interactively experimenting with the system by loading a + ;; source file into it more than once. But it's worth warning + ;; about it because it definitely shouldn't come up in an + ;; ordinary build process. + (warn "*DELAYED-DEF!TYPES* is already unbound."))))