fix corner case with multi-line comments in non-native read (issue #623)

This commit is contained in:
Alex Shinn 2020-03-30 01:14:27 +09:00
parent 72ea1258e6
commit 0a83939866

View file

@ -171,6 +171,9 @@
(read-char in) (read-char in)
(read in) (read in)
(skip-whitespace-and-sexp-comments in read)) (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 #f)))
(else (else
#t))) #t)))