Skip to content
Snippets Groups Projects
Commit 8ba3ce3e authored by ram's avatar ram
Browse files

Changed EOF-OR-LOSE to signal the END-OF-FILE condition.

parent 5b035fce
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/sysmacs.lisp,v 1.13 1993/05/20 13:43:21 wlott Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/sysmacs.lisp,v 1.14 1993/06/24 13:49:30 ram Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
(defmacro eof-or-lose (stream eof-errorp eof-value) (defmacro eof-or-lose (stream eof-errorp eof-value)
`(if ,eof-errorp `(if ,eof-errorp
(error "~S: Stream hit EOF unexpectedly." ,stream) (error 'end-of-file :stream ,stream)
,eof-value)) ,eof-value))
;;; These macros handle the special cases of t and nil for input and ;;; These macros handle the special cases of t and nil for input and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment