projects
/
platform
/
upstream
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dba7669
)
Fix unterminated #!...!# error message in Scheme reader
author
Andy Wingo
<wingo@pobox.com>
Wed, 3 Mar 2021 15:20:53 +0000
(16:20 +0100)
committer
Andy Wingo
<wingo@pobox.com>
Wed, 3 Mar 2021 15:22:56 +0000
(16:22 +0100)
* module/ice-9/read.scm (%read): Tweak "unterminated block constant"
error to be more compatible with C reader.
module/ice-9/read.scm
patch
|
blob
|
history
diff --git
a/module/ice-9/read.scm
b/module/ice-9/read.scm
index 8a6c56c8b2f8c2d239d4735e072a089b56138f10..7ce4b416a82d1fcc9dfa70bc0ba719ee11783b69 100644
(file)
--- 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 "un
expected end of input while looking for !#
"))
+ (error "un
terminated `#! ... !#' comment
"))
((eqv? ch #\!)
(let ((ch (next)))
(if (eqv? ch #\#)