r4690: Auto commit for Debian build
authorKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 29 Apr 2003 09:39:45 +0000 (09:39 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 29 Apr 2003 09:39:45 +0000 (09:39 +0000)
mop.lisp

index 2ef3ed2a4e92865eaf65be670ba08b974da25863..28b2302a6c382ec752f1ade693df2a2f93c45e60 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.66 2003/04/29 09:25:55 kevin Exp $
+;;;; $Id: mop.lisp,v 1.67 2003/04/29 09:39:45 kevin Exp $
 ;;;;
 ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
 ;;;;
 
 (defmethod compute-effective-slot-definition :around ((cl hyperobject-class) #+ho-normal-cesd name dsds)
   #+ho-normal-cesd (declare (ignore name))
-  (let ((esd (call-next-method))
-       (value-type (canonicalize-value-type (slot-value (car dsds) 'value-type))))
+  (let* ((esd (call-next-method))
+        (dsd (car dsds))
+        (value-type (canonicalize-value-type (slot-value dsd 'value-type))))
     (multiple-value-bind (sql-type length) (value-type-to-sql-type value-type)
       (setf (slot-value esd 'sql-type) sql-type)
       (setf (slot-value esd 'length) length)
       (setf (slot-value esd 'type) (value-type-to-lisp-type value-type))
       (setf (slot-value esd 'value-type) value-type)
+      (dolist (name '(print-formatter subobject hyperlink hyperlink-parameters description user-name
+                     value-constraint index null-allowed))
+       (setf (slot-value esd name) (slot-value dsd name)))
       esd)))