projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.2.43:
[sbcl.git]
/
tests
/
reader.impure.lisp
diff --git
a/tests/reader.impure.lisp
b/tests/reader.impure.lisp
index
1d90ae1
..
3a9507a
100644
(file)
--- a/
tests/reader.impure.lisp
+++ b/
tests/reader.impure.lisp
@@
-8,7
+8,7
@@
;;;; While most of SBCL is derived from the CMU CL system, the test
;;;; files (like this one) were written from scratch after the fork
;;;; from CMU CL.
;;;; While most of SBCL is derived from the CMU CL system, the test
;;;; files (like this one) were written from scratch after the fork
;;;; from CMU CL.
-;;;;
+;;;;
;;;; This software is in the public domain and is provided with
;;;; absolutely no warranty. See the COPYING and CREDITS files for
;;;; more information.
;;;; This software is in the public domain and is provided with
;;;; absolutely no warranty. See the COPYING and CREDITS files for
;;;; more information.
@@
-81,7
+81,7
@@
;;; reported by Henrik Motakef
(defpackage "")
(assert (eq (symbol-package (read-from-string "||::FOO"))
;;; reported by Henrik Motakef
(defpackage "")
(assert (eq (symbol-package (read-from-string "||::FOO"))
- (find-package "")))
+ (find-package "")))
;;; test nested reads, test case by Helmut Eller for cmucl
(defclass my-in-stream (sb-gray:fundamental-character-input-stream)
;;; test nested reads, test case by Helmut Eller for cmucl
(defclass my-in-stream (sb-gray:fundamental-character-input-stream)
@@
-93,8
+93,8
@@
(with-input-from-string (s "b") (read s))
(with-slots (last-char) s
(cond (last-char (prog1 last-char (setf last-char nil)))
(with-input-from-string (s "b") (read s))
(with-slots (last-char) s
(cond (last-char (prog1 last-char (setf last-char nil)))
- (t (prog1 (aref string i)
- (setq i (mod (1+ i) (length string)))))))))
+ (t (prog1 (aref string i)
+ (setq i (mod (1+ i) (length string)))))))))
(defmethod sb-gray:stream-unread-char ((s my-in-stream) char)
(setf (slot-value s 'last-char) char)
(defmethod sb-gray:stream-unread-char ((s my-in-stream) char)
(setf (slot-value s 'last-char) char)