From 3f4394e0246c029c40eeade98ef0778356bf3238 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Sat, 29 Mar 2003 04:03:44 +0000 Subject: [PATCH] r4272: Auto commit for Debian build --- debian/changelog | 7 +++++++ mop.lisp | 13 ++++++++++++- package.lisp | 3 ++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 75ff184..67784a9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +cl-hyperobject (2.6.0-1) unstable; urgency=low + + * Add work-around in finalize-subobjects for scl/sbcl/cmucl. + Requires new exported function: process-queued-definitions + + -- Kevin M. Rosenberg Fri, 28 Mar 2003 20:58:01 -0700 + cl-hyperobject (2.5.3-1) unstable; urgency=low * New upstream for SBCL 0.8pre MOP changes diff --git a/mop.lisp b/mop.lisp index 54f6859..b9c8116 100644 --- 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 ;;;; @@ -281,6 +281,14 @@ (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) @@ -297,6 +305,9 @@ 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)))) diff --git a/package.lisp b/package.lisp index e7b9283..42e51ef 100644 --- a/package.lisp +++ b/package.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: package.lisp,v 1.33 2003/03/25 16:04:18 kevin Exp $ +;;;; $Id: package.lisp,v 1.34 2003/03/29 04:00:37 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg ;;;; ************************************************************************* @@ -35,6 +35,7 @@ #:load-all-subobjects #:view #:fmt-comma-integer + #:processed-queued-definitions )) (defpackage #:hyperobject-user -- 2.34.1