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

If debug-info for a code object is a string, print it (for byte code) instead

of assuming a debug-info.
parent 3bc0d299
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.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)
......
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