mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
fix corner case with multi-line comments in non-native read (issue #623)
This commit is contained in:
parent
72ea1258e6
commit
0a83939866
1 changed files with 3 additions and 0 deletions
|
@ -171,6 +171,9 @@
|
|||
(read-char in)
|
||||
(read in)
|
||||
(skip-whitespace-and-sexp-comments in read))
|
||||
((eqv? #\| (peek-char in))
|
||||
(skip-comment in 0)
|
||||
(skip-whitespace-and-sexp-comments in read))
|
||||
(else #f)))
|
||||
(else
|
||||
#t)))
|
||||
|
|
Loading…
Add table
Reference in a new issue