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)
|
||||
1)))))
|
||||
(lambda (port)
|
||||
(if (or (port-pending-eof? port)
|
||||
(source-data-buffer (port-data port)))
|
||||
#t
|
||||
((source-data-ready? (port-data port)))))))
|
||||
(error "Peek on char-source is not implemented. Complain to the scsh implementors"))))
|
||||
|
||||
|
||||
(define (buffer-set! buffer index char)
|
||||
(if (string? buffer)
|
||||
|
|
Loading…
Reference in New Issue