[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 05/07: Fix unterminated #!...!# error message in Scheme
From: |
Andy Wingo |
Subject: |
[Guile-commits] 05/07: Fix unterminated #!...!# error message in Scheme reader |
Date: |
Wed, 3 Mar 2021 11:09:28 -0500 (EST) |
wingo pushed a commit to branch master
in repository guile.
commit 079800d68291b27a7c9b66d183bf79eb22808fc5
Author: Andy Wingo <wingo@pobox.com>
AuthorDate: Wed Mar 3 16:20:53 2021 +0100
Fix unterminated #!...!# error message in Scheme reader
* module/ice-9/read.scm (%read): Tweak "unterminated block constant"
error to be more compatible with C reader.
---
module/ice-9/read.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/ice-9/read.scm b/module/ice-9/read.scm
index 8a6c56c..7ce4b41 100644
--- a/module/ice-9/read.scm
+++ b/module/ice-9/read.scm
@@ -755,7 +755,7 @@
(let lp ((ch (next)))
(cond
((eof-object? ch)
- (error "unexpected end of input while looking for !#"))
+ (error "unterminated `#! ... !#' comment"))
((eqv? ch #\!)
(let ((ch (next)))
(if (eqv? ch #\#)
- [Guile-commits] branch master updated (54adbd6 -> 8edf1dc), Andy Wingo, 2021/03/03
- [Guile-commits] 02/07: Invalid charset at EOF does not cause decoding error, Andy Wingo, 2021/03/03
- [Guile-commits] 03/07: Fix reader extensions in Scheme reader, Andy Wingo, 2021/03/03
- [Guile-commits] 04/07: Fix reading neoteric exprs in Scheme reader, Andy Wingo, 2021/03/03
- [Guile-commits] 01/07: Remove textual-ports include from (ice-9 read), Andy Wingo, 2021/03/03
- [Guile-commits] 05/07: Fix unterminated #!...!# error message in Scheme reader,
Andy Wingo <=
- [Guile-commits] 06/07: Relax srfi-105 source expectations, Andy Wingo, 2021/03/03
- [Guile-commits] 07/07: Read-in-scheme replaces boot "read" definition, Andy Wingo, 2021/03/03