Changeset 8342
- Timestamp:
- Jan 28, 2008, 4:47:47 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/source/level-1/l1-readloop-lds.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/level-1/l1-readloop-lds.lisp
r8286 r8342 253 253 (defparameter *quit-on-eof* nil) 254 254 255 (defmethod stream-eof-transient-p (stream) 256 (let ((fd (stream-device stream :input))) 257 (and fd (eof-transient-p fd)))) 258 255 259 ;;; This is the part common to toplevel loop and inner break loops. 256 260 (defun read-loop (&key (input-stream *standard-input*) … … 281 285 (if (and (not *batch-flag*) 282 286 (not *quit-on-eof*) 283 ( eof-transient-p (stream-device input-stream :input)))287 (stream-eof-transient-p input-stream)) 284 288 (progn 285 289 (stream-clear-input input-stream)
Note:
See TracChangeset
for help on using the changeset viewer.
