mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-30 06:50:31 +02:00
Fix (ice-9 read) for #!r6rs
* module/ice-9/read.scm (read): Fix read-directive.
This commit is contained in:
parent
40e4e3b2a4
commit
5275156b00
1 changed files with 3 additions and 1 deletions
|
@ -759,7 +759,9 @@
|
||||||
(else
|
(else
|
||||||
(string->symbol
|
(string->symbol
|
||||||
(take-while ch (lambda (ch)
|
(take-while ch (lambda (ch)
|
||||||
(or (eqv? ch #\-) (char-alphabetic? ch)))))))))
|
(or (eqv? ch #\-)
|
||||||
|
(char-alphabetic? ch)
|
||||||
|
(char-numeric? ch)))))))))
|
||||||
|
|
||||||
(define (skip-scsh-comment)
|
(define (skip-scsh-comment)
|
||||||
(let lp ((ch (next)))
|
(let lp ((ch (next)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue