X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fir1report.lisp;h=93dbf66e6bca2ab0d8ae0a4964a03db44d6c0868;hb=3dd90b64c37103d9c86d32b6c36277a6cea4098a;hp=0a90d60572d5d44ec374b5a9505bfdeebb6e858d;hpb=cb83aa22932bf4b9bc74ac6f0fcd91db1702ad33;p=sbcl.git diff --git a/src/compiler/ir1report.lisp b/src/compiler/ir1report.lisp index 0a90d60..93dbf66 100644 --- a/src/compiler/ir1report.lisp +++ b/src/compiler/ir1report.lisp @@ -294,8 +294,8 @@ (compiler-error-context-original-source last))) (note-message-repeats stream) (setq last nil) - (pprint-logical-block (stream nil :per-line-prefix "; ") - (format stream " ~A" form)) + (pprint-logical-block (stream nil :per-line-prefix "; ") + (princ form stream)) (fresh-line stream)) (unless (and last @@ -399,10 +399,10 @@ has written, having proved that it is unreachable.")) (values)) ;; Issue a note when we might or might not be in the compiler. - (defun maybe-compiler-notify (&rest rest) + (defun maybe-compiler-notify (datum &rest args) (if (boundp '*lexenv*) ; if we're in the compiler - (apply #'compiler-notify rest) - (with-condition (condition (car rest) (cdr rest)) + (apply #'compiler-notify datum args) + (with-condition (condition datum args) (let ((stream *error-output*)) (pprint-logical-block (stream nil :per-line-prefix ";") (format stream " note: ~3I~_")