From a5f40e0eefd49ed1d6e7ec787dc26174c51c3648 Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Mon, 30 Aug 1993 14:55:09 +0000 Subject: [PATCH] Change output-instance to use SLOT-CLASS instead of BASIC-STRUCTURE-CLASS. Remove Dylan hack, since it should now be able to use slot-classes. --- code/print.lisp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/code/print.lisp b/code/print.lisp index 7e3cf5046..79d5f70b0 100644 --- a/code/print.lisp +++ b/code/print.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.61 1993/08/25 01:14:28 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.62 1993/08/30 14:55:09 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1114,13 +1114,10 @@ (if (typep layout 'layout) (let ((class (layout-class layout))) - (cond ((typep class 'basic-structure-class) - (funcall (or (basic-structure-class-print-function class) + (cond ((typep class 'slot-class) + (funcall (or (slot-class-print-function class) #'default-structure-print) instance stream *current-level*)) - ((and (fboundp 'dylan::dylan-instance-p) - (dylan::dylan-instance-p instance)) - (dylan::%print-dylan-instance instance stream)) ((fboundp 'print-object) (print-object instance stream)) (t -- GitLab