Changeset 13508
- Timestamp:
- Mar 9, 2010, 11:56:34 AM (15 years ago)
- Location:
- branches/working-0711/ccl
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
level-1/l1-readloop-lds.lisp (modified) (1 diff)
-
level-1/l1-streams.lisp (modified) (3 diffs)
-
lib/streams.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl
- Property svn:mergeinfo changed
/trunk/source merged: 13368
- Property svn:mergeinfo changed
-
branches/working-0711/ccl/level-1/l1-readloop-lds.lisp
r13361 r13508 561 561 (*print-right-margin* nil) 562 562 (*signal-printing-errors* nil) 563 (s (make-indenting-string-output-stream prefixchar nil))) 563 (s (make-indenting-string-output-stream prefixchar nil)) 564 (sub (make-string-output-stream)) 565 (indent 0)) 564 566 (format s "~A ~A: " prefixchar msg) 565 (setf (indenting-string-output-stream-indent s) (column s)) 567 (setf (indenting-string-output-stream-indent s) (setq indent (column s))) 568 (decf (stream-line-length sub) indent) 566 569 ;(format s "~A" condition) ; evil if circle 567 (report-condition condition s) 570 (report-condition condition sub) 571 (format s "~A" (get-output-stream-string sub)) 568 572 (if (not (and (typep condition 'simple-program-error) 569 573 (simple-program-error-context condition))) -
branches/working-0711/ccl/level-1/l1-streams.lisp
r13505 r13508 4236 4236 (defstruct (string-output-stream-ioblock (:include string-stream-ioblock)) 4237 4237 (index 0) 4238 freelist) 4238 freelist 4239 (line-length 80)) 4239 4240 4240 4241 (defstatic *string-output-stream-class* (make-built-in-class 'string-output-stream 'string-stream 'basic-character-output-stream)) … … 4253 4254 (defmethod stream-clear-output ((s string-output-stream)) 4254 4255 nil) 4256 4257 (defmethod stream-line-length ((s string-output-stream)) 4258 (let* ((ioblock (basic-stream-ioblock s))) 4259 (string-output-stream-ioblock-line-length ioblock))) 4260 4261 (defmethod (setf stream-line-length) (newlen (s string-output-stream)) 4262 (let* ((ioblock (basic-stream-ioblock s))) 4263 (setf (string-output-stream-ioblock-line-length ioblock) newlen))) 4264 4255 4265 4256 4266 ;;; Should only be used for a stream whose class is exactly … … 4290 4300 (ioblock-device data) -1 4291 4301 (ioblock-charpos data) 0 4292 (string-output-stream-ioblock-index data) 0)) 4302 (string-output-stream-ioblock-index data) 0 4303 (string-output-stream-ioblock-line-length data) 80)) 4293 4304 data))))) 4294 4305 (or recycled (apply #'make-string-output-stream-ioblock keys)))) -
branches/working-0711/ccl/lib/streams.lisp
r13070 r13508 131 131 132 132 (defun line-length (stream) 133 (declare (ignore stream)) 134 80) 133 (or (stream-line-length stream) 80)) 135 134 136 135 (defun write-byte (byte stream)
Note:
See TracChangeset
for help on using the changeset viewer.
