[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-325-g7520a
From: |
Mark H Weaver |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-325-g7520a9b |
Date: |
Mon, 08 Apr 2013 12:46:22 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=7520a9b95d2661cf40f6c1bf8be79f38ca632516
The branch, stable-2.0 has been updated
via 7520a9b95d2661cf40f6c1bf8be79f38ca632516 (commit)
from 7f3be1db9949b0566d3a2cb6bd9d0e84287bbb0a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7520a9b95d2661cf40f6c1bf8be79f38ca632516
Author: Mark H Weaver <address@hidden>
Date: Mon Apr 8 08:44:02 2013 -0400
Consume a peeked EOF at the REPL.
* module/system/repl/repl.scm (meta-reader): Consume peeked EOF.
-----------------------------------------------------------------------
Summary of changes:
module/system/repl/repl.scm | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/module/system/repl/repl.scm b/module/system/repl/repl.scm
index 7d2b7c8..1649556 100644
--- a/module/system/repl/repl.scm
+++ b/module/system/repl/repl.scm
@@ -87,12 +87,9 @@
(lambda ()
(let ((ch (flush-leading-whitespace)))
(cond ((eof-object? ch)
- ;; EOF objects are not buffered. It's quite possible
- ;; to peek an EOF then read something else. It's
- ;; strange but it's how it works.
- ch)
+ (read-char)) ; consume the EOF and return it
((eqv? ch #\,)
- (read-char port)
+ (read-char)
meta-command-token)
((read-comment lang port ch)
*unspecified*)
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-325-g7520a9b,
Mark H Weaver <=