r4272: Auto commit for Debian build
[hyperobject.git] / mop.lisp
index 54f685979f77a2681d69c6766caf1ee29daa3bb1..b9c8116d990d593669c62ca5cada1e7b5a44fe1b 100644 (file)
--- a/mop.lisp
+++ b/mop.lisp
@@ -11,7 +11,7 @@
 ;;;; in Text, HTML, and XML formats. This includes hyperlinking
 ;;;; capability and sub-objects.
 ;;;;
-;;;; $Id: mop.lisp,v 1.17 2002/12/26 23:18:16 kevin Exp $
+;;;; $Id: mop.lisp,v 1.18 2003/03/29 04:00:37 kevin Exp $
 ;;;;
 ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
 ;;;;
        (setf (slot-value ,the-instance ,the-slot-name)
           (,reader ,@keys)))))
 
+#+(or sbcl scl cmu)
+(defparameter *queued-definitions* nil)
+#+(or sbcl scl cmu)
+(defun process-queued-definitions ()
+  (dolist (def *queued-definitions*)
+    (eval def))
+  (setq *queued-definitions* nil))
+
 (defun finalize-subobjects (cl)
   "Process class subobjects slot"
   (setf (subobjects cl)
                                                           nil
                                                           (cdr subobj-def)))))
            (unless (eq (lookup subobject) t)
+             #+(or sbcl scl cmu)
+             
+             #-(or sbcl scl cmu)
              (eval `(def-lazy-reader ,(name-class subobject)
                         ,(name-slot subobject) ,(lookup subobject)
                         ,@(lookup-keys subobject))))