mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 19:50:24 +02:00
Fix (ice-9 read) for #\"
* module/ice-9/read.scm (read): Fix #\ followed by a delimiter.
This commit is contained in:
parent
5275156b00
commit
a194d04d11
1 changed files with 2 additions and 0 deletions
|
@ -346,6 +346,8 @@
|
||||||
(cond
|
(cond
|
||||||
((eof-object? ch)
|
((eof-object? ch)
|
||||||
(input-error "unexpected end of input after #\\"))
|
(input-error "unexpected end of input after #\\"))
|
||||||
|
((delimiter? ch)
|
||||||
|
ch)
|
||||||
(else
|
(else
|
||||||
(let* ((tok (read-token ch))
|
(let* ((tok (read-token ch))
|
||||||
(len (string-length tok)))
|
(len (string-length tok)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue