mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
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.
This commit is contained in:
parent
dba7669077
commit
079800d682
1 changed files with 1 additions and 1 deletions
|
@ -755,7 +755,7 @@
|
||||||
(let lp ((ch (next)))
|
(let lp ((ch (next)))
|
||||||
(cond
|
(cond
|
||||||
((eof-object? ch)
|
((eof-object? ch)
|
||||||
(error "unexpected end of input while looking for !#"))
|
(error "unterminated `#! ... !#' comment"))
|
||||||
((eqv? ch #\!)
|
((eqv? ch #\!)
|
||||||
(let ((ch (next)))
|
(let ((ch (next)))
|
||||||
(if (eqv? ch #\#)
|
(if (eqv? ch #\#)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue