Changeset 7994
- Timestamp:
- Jan 3, 2008, 9:27:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/event-ide/ccl/level-1/l1-readloop-lds.lisp
r7969 r7994 198 198 (defparameter *quit-on-eof* nil) 199 199 200 (defmethod stream-eof-transient-p (stream) 201 (let ((fd (stream-device stream :input))) 202 (and fd (eof-transient-p fd)))) 203 200 204 ;;; This is the part common to toplevel loop and inner break loops. 201 205 (defun read-loop (&key (input-stream *standard-input*) … … 226 230 (if (and (not *batch-flag*) 227 231 (not *quit-on-eof*) 228 ( eof-transient-p (stream-device input-stream :input)))232 (stream-eof-transient-p input-stream)) 229 233 (progn 230 234 (stream-clear-input input-stream)
Note:
See TracChangeset
for help on using the changeset viewer.
