From 7d9f232609e507b003147db7339aa0a351163d55 Mon Sep 17 00:00:00 2001 From: William Harold Newman Date: Wed, 4 Jul 2007 00:15:27 +0000 Subject: [PATCH] 1.0.7.13: Mistakes should be fun, error messages should be beautiful. take one ~% down, replace it with ~_, several hundred vintage error message strings in the repository... --- src/code/condition.lisp | 17 +++++++++-------- version.lisp-expr | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/code/condition.lisp b/src/code/condition.lisp index 5384c446d..c17e2c3e5 100644 --- a/src/code/condition.lisp +++ b/src/code/condition.lisp @@ -755,13 +755,14 @@ (or (position #\Newline string :from-end t) -1) 1)))) (file-position-or-nil-for-error error-stream pos)) - (format stream - "READER-ERROR ~@[at ~W ~]~ - ~@[(line ~W~]~@[, column ~W) ~]~ - on ~S:~%~?" - pos lineno colno error-stream - (reader-error-format-control condition) - (reader-error-format-arguments condition))))))) + (pprint-logical-block (stream nil) + (format stream + "READER-ERROR ~@[at ~W ~]~ + ~@[(line ~W~]~@[, column ~W) ~]~ + on ~S:~2I~_~?" + pos lineno colno error-stream + (reader-error-format-control condition) + (reader-error-format-arguments condition)))))))) ;;;; special SBCL extension conditions @@ -811,7 +812,7 @@ ;;; unimplemented and (2) unintentionally just screwed up somehow. ;;; (Before this condition was defined, test code tried to deal with ;;; this by checking for FBOUNDP, but that didn't work reliably. In -;;; sbcl-0.7.0, a a package screwup left the definition of +;;; sbcl-0.7.0, a package screwup left the definition of ;;; LOAD-FOREIGN in the wrong package, so it was unFBOUNDP even on ;;; architectures where it was supposed to be supported, and the ;;; regression tests cheerfully passed because they assumed that diff --git a/version.lisp-expr b/version.lisp-expr index 31d5ac98e..448f8d46f 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"1.0.7.12" +"1.0.7.13" -- 2.11.4.GIT