Fix typed scheme reader for new reader API.
svn: r9182
This commit is contained in:
parent
7a29625659
commit
b800f4ed3e
|
@ -2,13 +2,12 @@
|
|||
(require (prefix-in r: "../typed-reader.ss")
|
||||
(only-in syntax/module-reader wrap-read-all))
|
||||
|
||||
(define (*read in)
|
||||
(wrap-read-all 'typed-scheme in r:read))
|
||||
(define (*read in modpath line col pos)
|
||||
(wrap-read-all 'typed-scheme in r:read modpath #f line col pos))
|
||||
|
||||
(define (*read-syntax src in)
|
||||
(wrap-read-all 'typed-scheme
|
||||
in
|
||||
(lambda (in)
|
||||
(r:read-syntax src in))))
|
||||
(define (*read-syntax src in modpath line col pos)
|
||||
(wrap-read-all
|
||||
'typed-scheme in (lambda (in) (r:read-syntax src in))
|
||||
modpath src line col pos))
|
||||
|
||||
(provide (rename-out [*read read] [*read-syntax read-syntax]))
|
||||
|
|
Loading…
Reference in New Issue
Block a user