1.0.7.13: Mistakes should be fun, error messages should be beautiful.
authorWilliam Harold Newman <william.newman@airmail.net>
Wed, 4 Jul 2007 00:15:27 +0000 (00:15 +0000)
committerWilliam Harold Newman <william.newman@airmail.net>
Wed, 4 Jul 2007 00:15:27 +0000 (00:15 +0000)
take one ~% down, replace it with ~_, several hundred
vintage error message strings in the repository...

src/code/condition.lisp
version.lisp-expr

index 5384c44..c17e2c3 100644 (file)
                               (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))))))))
 \f
 ;;;; special SBCL extension conditions
 
 ;;; 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
index 31d5ac9..448f8d4 100644 (file)
@@ -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"