mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +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)))
|
||||
(cond
|
||||
((eof-object? ch)
|
||||
(error "unexpected end of input while looking for !#"))
|
||||
(error "unterminated `#! ... !#' comment"))
|
||||
((eqv? ch #\!)
|
||||
(let ((ch (next)))
|
||||
(if (eqv? ch #\#)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue