#!+sb-show
(defun cold-print (x)
- (typecase x
- (simple-string (sb!sys:%primitive print x))
- (symbol (sb!sys:%primitive print (symbol-name x)))
- (list (let ((count 0))
- (sb!sys:%primitive print "list:")
- (dolist (i x)
- (when (>= (incf count) 4)
- (sb!sys:%primitive print "...")
- (return))
- (cold-print i))))
- (t (sb!sys:%primitive print (hexstr x)))))
+ (labels ((%cold-print (obj depthoid)
+ (if (> depthoid 4)
+ (sb!sys:%primitive print "...")
+ (typecase obj
+ (simple-string
+ (sb!sys:%primitive print obj))
+ (symbol
+ (sb!sys:%primitive print (symbol-name obj)))
+ (cons
+ (sb!sys:%primitive print "cons:")
+ (let ((d (1+ depthoid)))
+ (%cold-print (car obj) d)
+ (%cold-print (cdr obj) d)))
+ (t
+ (sb!sys:%primitive print (hexstr x)))))))
+ (%cold-print x 0))
+ (values))
\ No newline at end of file
;;; not sure this is the right place, but where else?
(defun style-warn (datum &rest arguments)
(/show0 "entering STYLE-WARN")
- (/show format-control format-arguments)
+ (/show datum arguments)
(if (stringp datum)
(with-sane-io-syntax
(warn 'simple-style-warning
;;; 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.19.5"
+"1.0.19.6"