sbcl.sbcl/tests/bug-doug-mcnaught-20030914.lisp
William Harold Newman 4898ef32c6 0.9.2.43:
another slice of whitespace canonicalization
	(Anyone who ends up here with "cvs annotate" probably
		wants to look at the "tabby" tagged version.)
2005-07-14 16:30:05 +00:00

17 lines
844 B
Common Lisp

(eval-when (:compile-toplevel :load-toplevel :execute)
(setq *readtable* (copy-readtable nil)) ; LOAD binds *readtable*...
(set-macro-character #\] (get-macro-character #\)))
(set-dispatch-macro-character #\# #\[
#'(lambda (s c n) (declare (ignore c))
(let* ((type (if n `(unsigned-byte ,n)
'(unsigned-byte 8)))
(list (read-delimited-list #\] s nil))
(len (length list)))
(make-array (list len)
:element-type type
:initial-contents list)))))
(defvar *bug-doug-mcnaught-20030914* '#4[1 2 3])