1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 13:20:26 +02:00

* Don't set continuation flag for leading whitespace.

This commit is contained in:
Neil Jerram 2001-03-07 23:03:37 +00:00
parent 66418d3465
commit 403a334593
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2001-03-07 Neil Jerram <neil@ossau.uklinux.net>
* buffered-input.scm (make-line-buffered-input-port): Don't set
the continuation flag for leading whitespace. Thanks to Dirk
Herrmann for the suggestion.
2001-03-05 Neil Jerram <neil@ossau.uklinux.net>
* optargs.scm (rest-arg->keyword-binding-list): Use "'()" instead

View file

@ -79,7 +79,8 @@ first call to @var{reader}, and so @var{reader} will be called with
(else
(let ((res (string-ref read-string string-index)))
(set! string-index (+ 1 string-index))
(set! (buffered-input-continuation? port) #t)
(if (not (char-whitespace? res))
(set! (buffered-input-continuation? port) #t))
res)))))
(port #f))
(set! port (make-soft-port (vector #f #f #f get-character #f) "r"))