Skip to content
Snippets Groups Projects
Commit a5f40e0e authored by ram's avatar ram
Browse files

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.
parent 1a63661a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment