From 87821df29214d306ae6c8b295fd443b3bf414a13 Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Tue, 11 May 1993 13:42:51 +0000 Subject: [PATCH] If debug-info for a code object is a string, print it (for byte code) instead of assuming a debug-info. --- code/print.lisp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/print.lisp b/code/print.lisp index 064981119..4749d657c 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.53 1993/05/07 11:47:52 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.54 1993/05/11 13:42:51 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1672,7 +1672,10 @@ (write-string "Code Object" stream) (when dinfo (write-char #\space stream) - (output-object (c::compiled-debug-info-name dinfo) stream))))))) + (if (stringp dinfo) + (prin1 dinfo stream) + (output-object (c::compiled-debug-info-name dinfo) + stream)))))))) (defun output-lra (lra stream) (print-unreadable-object (lra stream :identity t) -- GitLab