Peek on char-source-input-ports does not work. Added error message to report this.
This commit is contained in:
parent
b92828ec10
commit
59bd2ab6e4
|
@ -325,10 +325,8 @@
|
||||||
(buffer-set! buffer start next)
|
(buffer-set! buffer start next)
|
||||||
1)))))
|
1)))))
|
||||||
(lambda (port)
|
(lambda (port)
|
||||||
(if (or (port-pending-eof? port)
|
(error "Peek on char-source is not implemented. Complain to the scsh implementors"))))
|
||||||
(source-data-buffer (port-data port)))
|
|
||||||
#t
|
|
||||||
((source-data-ready? (port-data port)))))))
|
|
||||||
|
|
||||||
(define (buffer-set! buffer index char)
|
(define (buffer-set! buffer index char)
|
||||||
(if (string? buffer)
|
(if (string? buffer)
|
||||||
|
|
Loading…
Reference in New Issue