Changeset 12944
- Timestamp:
- Oct 9, 2009, 10:09:29 AM (15 years ago)
- Location:
- branches/working-0711/ccl/level-1
- Files:
-
- 2 edited
-
l1-readloop-lds.lisp (modified) (1 diff)
-
l1-streams.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl/level-1/l1-readloop-lds.lisp
r12410 r12944 394 394 (force-output output-stream) 395 395 (funcall prompt-function output-stream) 396 (read-toplevel-form input-stream eof-value))396 (read-toplevel-form input-stream :eof-value eof-value)) 397 397 398 398 (defvar *always-eval-user-defvars* nil) -
branches/working-0711/ccl/level-1/l1-streams.lisp
r12305 r12944 5858 5858 ;;; and the SELECTION-INPUT-STREAM method below.) 5859 5859 5860 (defmethod read-toplevel-form ((stream synonym-stream) eof-value)5861 ( read-toplevel-form (symbol-value (synonym-stream-symbol stream)) eof-value))5862 5863 (defmethod read-toplevel-form ((stream two-way-stream) eof-value)5860 (defmethod read-toplevel-form ((stream synonym-stream) &rest keys) 5861 (apply #'read-toplevel-form (symbol-value (synonym-stream-symbol stream)) keys)) 5862 5863 (defmethod read-toplevel-form ((stream two-way-stream) &rest keys) 5864 5864 (if (typep stream 'echo-stream) 5865 5865 (call-next-method) 5866 (read-toplevel-form (two-way-stream-input-stream stream) eof-value))) 5867 5868 (defmethod read-toplevel-form :after ((stream echoing-two-way-stream) eof-value) 5869 (declare (ignore eof-value)) 5866 (apply #'read-toplevel-form (two-way-stream-input-stream stream) keys))) 5867 5868 (defmethod read-toplevel-form :after ((stream echoing-two-way-stream) &key &allow-other-keys) 5870 5869 (stream-set-column (two-way-stream-output-stream stream) 0)) 5871 5870 5872 (defmethod read-toplevel-form ((stream input-stream) 5873 eof-value) 5871 (defmethod read-toplevel-form ((stream input-stream) &key eof-value file-name start-offset map) 5874 5872 (loop 5875 5873 (let* ((*in-read-loop* nil) … … 5880 5878 (read-command-or-keyword stream eof-value)) 5881 5879 ((eq first-char eof-value) eof-value) 5882 (t (read stream nil eof-value)))))) 5880 (t (read-recording-source stream :eofval eof-value 5881 :file-name file-name 5882 :start-offset start-offset 5883 :map map 5884 :save-source-text t)))))) 5883 5885 (if (eq form eof-value) 5884 5886 (return (values form nil t)) … … 5901 5903 5902 5904 (defmethod read-toplevel-form ((stream selection-input-stream) 5903 eof-value)5905 &key eof-value &allow-other-keys) 5904 5906 (if (eq (stream-peek-char stream) :eof) 5905 5907 (values eof-value nil t)
Note:
See TracChangeset
for help on using the changeset viewer.
