guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String syntax changed?


From: Paul Jarc
Subject: Re: String syntax changed?
Date: Thu, 19 Feb 2004 01:21:03 -0500
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

Marius Vollmer <address@hidden> wrote:
> Maybe 'drain-input' is all that is needed?

That won't be enough.

guile> (drain-input (current-input-port)) ; foo
";"
guile> <unnamed port>: In expression foo:
<unnamed port>: Unbound variable: foo
ABORT: (unbound-variable)

Type "(backtrace)" to get more information or "(debug)" to enter the debugger.

I think we would want to consume data all the way through to the
newline.  (Not because it is a newline, but because that's how much
data has been flushed through the tty driver, and is available to
read() without blocking.)


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]