Skip to content

Commit

Permalink
committed an unintended change
Browse files Browse the repository at this point in the history
  • Loading branch information
netguy204 committed Apr 22, 2011
1 parent a6b89d7 commit f8eaffa
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions read.sch
Original file line number Diff line number Diff line change
Expand Up @@ -258,22 +258,15 @@
(set-global-unquoted! sym sym))
sym)))))

;; TEST: turn off CLOS
(define (read-stream-char stream)
(read-char stream))

(define (unread-stream-char stream char)
(unread-char char stream))

;; Take over for old reader
(define old-read read-port)

(define (read-stream stream)
(read:read stream))
(read:read (ensure-pushback-stream stream)))

(define (read-port port)
"Read an expression from a port."
(read-stream port))
(read-stream (make <native-input-stream> 'port port)))

(define read read-port)

Expand Down

0 comments on commit f8eaffa

Please sign in to comment.