Changeset 6636


Ignore:
Timestamp:
May 31, 2007, 5:40:03 PM (17 years ago)
Author:
Gary Byers
Message:

READER-ERORS use STREAM-ERROR-CONTEXT when reporting themselves.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lib/read.lisp

    r933 r6636  
    1717(in-package "CCL")
    1818
     19
     20                         
    1921(define-condition simple-reader-error (reader-error simple-error) ()
    2022  (:report (lambda (c output-stream)
    21              (format output-stream "Reader error on stream ~S:~%~?"
    22                      (stream-error-stream c)
     23             (format output-stream "Reader error on ~a:~%~?"
     24                     (stream-error-context c)
    2325                     (simple-condition-format-control c)
    2426                     (simple-condition-format-arguments c)))))
     
    4648
    4749(defun read-internal (input-stream)
    48    (read input-stream t nil t))
     50  (read input-stream t nil t))
    4951
    5052
Note: See TracChangeset for help on using the changeset viewer.