X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fir1report.lisp;h=93dbf66e6bca2ab0d8ae0a4964a03db44d6c0868;hb=f22ad70037030c07074327cf239bd84dc17b44b6;hp=12a658096327ddc887984e0844b34b6eceeb92c7;hpb=d604a358d8e5eb5587989e0a4f1d31dbe6ac5ffe;p=sbcl.git diff --git a/src/compiler/ir1report.lisp b/src/compiler/ir1report.lisp index 12a6580..93dbf66 100644 --- a/src/compiler/ir1report.lisp +++ b/src/compiler/ir1report.lisp @@ -90,10 +90,6 @@ (lambda (,n-whole) (destructuring-bind ,lambda-list ,n-whole ,@body))))) -(defmacro def-source-context (&rest rest) - (deprecation-warning 'def-source-context 'define-source-context) - `(define-source-context ,@rest)) - (define-source-context defstruct (name-or-options &rest slots) (declare (ignore slots)) `(defstruct ,(if (consp name-or-options) @@ -298,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 @@ -403,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~_")