mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-21 06:39:17 +02:00
Not quite the right fix - will do this properly later.
This commit is contained in:
parent
cd0a6bd41f
commit
a32ae03add
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
(define (complete-sexp? str)
|
||||
(call-with-input-string str
|
||||
(lambda (in)
|
||||
(let lp () (or (eof-object? (read/ss in)) (lp))))))
|
||||
(let lp () (if (not (eof-object? (read/ss in))) (lp))))))
|
||||
|
||||
(define (read-line/complete-sexp in)
|
||||
(let lp ((res ""))
|
||||
|
@ -46,7 +46,7 @@
|
|||
(lp res))))))))
|
||||
|
||||
(define (buffer-complete-sexp? buf)
|
||||
(guard (exn (else #f)) (complete-sexp? (buffer->string buf))))
|
||||
(complete-sexp? (buffer->string buf)))
|
||||
|
||||
(define module? vector?)
|
||||
(define (module-env mod) (vector-ref mod 1))
|
||||
|
|
Loading…
Add table
Reference in a new issue