mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
Fix bug reading arrays with lengths
* module/ice-9/read.scm (%read): Fix typo.
This commit is contained in:
parent
e4647a0ca8
commit
d69062daf1
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,7 @@
|
||||||
(let lp ((ch ch) (chars '()))
|
(let lp ((ch ch) (chars '()))
|
||||||
(when (eof-object? ch)
|
(when (eof-object? ch)
|
||||||
(error "unexpected end of input while reading array"))
|
(error "unexpected end of input while reading array"))
|
||||||
(if (memv ch '(#\( #\@ @\:))
|
(if (memv ch '(#\( #\@ #\:))
|
||||||
(values ch
|
(values ch
|
||||||
(if (null? chars)
|
(if (null? chars)
|
||||||
#t
|
#t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue