Fixes bug in reader now recognizing the following comment:

> #|| hello ||# '12
This commit is contained in:
Abdulaziz Ghuloum 2008-03-15 21:12:43 -04:00
parent 50888bef94
commit 97507bce08
2 changed files with 4 additions and 2 deletions

View File

@ -380,10 +380,12 @@
(cond
[(eof-object? c) (multiline-error p)]
[($char= #\| c)
(let ([c (read-char p)])
(let g ([c (read-char p)] [ac ac])
(cond
[(eof-object? c) (multiline-error p)]
[($char= #\# c) ac]
[($char= #\| c)
(g (read-char p) (cons c ac))]
[else (f p (cons c ac))]))]
[($char= #\# c)
(let ([c (read-char p)])

View File

@ -1 +1 @@
1414
1415