Fixes bug in reader now recognizing the following comment:
> #|| hello ||# '12
This commit is contained in:
parent
50888bef94
commit
97507bce08
|
@ -380,10 +380,12 @@
|
||||||
(cond
|
(cond
|
||||||
[(eof-object? c) (multiline-error p)]
|
[(eof-object? c) (multiline-error p)]
|
||||||
[($char= #\| c)
|
[($char= #\| c)
|
||||||
(let ([c (read-char p)])
|
(let g ([c (read-char p)] [ac ac])
|
||||||
(cond
|
(cond
|
||||||
[(eof-object? c) (multiline-error p)]
|
[(eof-object? c) (multiline-error p)]
|
||||||
[($char= #\# c) ac]
|
[($char= #\# c) ac]
|
||||||
|
[($char= #\| c)
|
||||||
|
(g (read-char p) (cons c ac))]
|
||||||
[else (f p (cons c ac))]))]
|
[else (f p (cons c ac))]))]
|
||||||
[($char= #\# c)
|
[($char= #\# c)
|
||||||
(let ([c (read-char p)])
|
(let ([c (read-char p)])
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1414
|
1415
|
||||||
|
|
Loading…
Reference in New Issue