HCoop
/
bpt
/
guile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "repl.scm next-char needed to read EOF from port"
[bpt/guile.git]
/
module
/
system
/
repl
/
repl.scm
diff --git
a/module/system/repl/repl.scm
b/module/system/repl/repl.scm
index
e416d1d
..
efe29ac
100644
(file)
--- a/
module/system/repl/repl.scm
+++ b/
module/system/repl/repl.scm
@@
-173,7
+173,7
@@
(define (next-char wait)
(if (or wait (char-ready?))
(let ((ch (peek-char)))
- (cond ((eof-object? ch)
(read-char)
ch)
+ (cond ((eof-object? ch) ch)
((char-whitespace? ch) (read-char) (next-char wait))
(else ch)))
#f))