svn: r4448

original commit: b123c4b3940fa84108d100be20fd8f78a6c6a5fe
This commit is contained in:
Eli Barzilay 2006-09-27 19:12:26 +00:00
parent f84645ec2a
commit 840ee32d3b

View File

@ -712,7 +712,7 @@
new-type))))))
(provide _string/eof _bytes/eof)
(define _bytes/eof
(make-ctype string-type
(make-ctype _bytes
(lambda (x) (and (not (eof-object? x)) x))
(lambda (x) (or x eof))))
(define-syntax _string/eof ; make it a syntax so it depends on the _string type