this file was not used, and was bogus (referred to the "big" collection)
svn: r10721
This commit is contained in:
parent
5726d77d87
commit
92440b68eb
|
@ -1,24 +0,0 @@
|
|||
|
||||
(module defreader mzscheme
|
||||
(require (prefix scribble: "reader.ss")
|
||||
mzlib/kw)
|
||||
|
||||
(provide (rename *read read)
|
||||
(rename *read-syntax read-syntax))
|
||||
|
||||
(define/kw (*read #:optional [inp (current-input-port)])
|
||||
(wrap inp (scribble:read-inside inp)))
|
||||
|
||||
(define/kw (*read-syntax #:optional src [port (current-input-port)])
|
||||
(wrap port (scribble:read-syntax-inside src port)))
|
||||
|
||||
(define (wrap port body)
|
||||
(let* ([p-name (object-name port)]
|
||||
[name (if (path? p-name)
|
||||
(let-values ([(base name dir?) (split-path p-name)])
|
||||
(string->symbol (path->string (path-replace-suffix name #""))))
|
||||
'page)]
|
||||
[id 'doc])
|
||||
`(module ,name (lib "lang.ss" "big")
|
||||
. ,body))))
|
||||
|
Loading…
Reference in New Issue
Block a user