<div dir="ltr">Yes, I noticed that too. It would be good if someone looked into it.<div><br></div><div>Robby</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 3, 2013 at 9:57 AM, Eli Barzilay <span dir="ltr"><<a href="mailto:eli@barzilay.org" target="_blank">eli@barzilay.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ah, so this is what made the scribble/reader tests fail -- thanks for<br>
the fix. But there's still a possible problem:<br>
<br>
v5.3.4:<br>
-> (raise-read-error "foo" 'src 1 2 3 4)<br>
; src:1:2: foo [,bt for context]<br>
<br>
Before this commit:<br>
-> (raise-read-error "foo" 'src 1 2 3 4)<br>
; #<procedure:...ntax/readerr.rkt:33:21>foo [,bt for context]<br>
<br>
And now:<br>
-> (raise-read-error "foo" 'src 1 2 3 4)<br>
; src:1:1: foo [,bt for context]<br>
<br>
where the column number is different from the first run.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
20 minutes ago, <a href="mailto:robby@racket-lang.org">robby@racket-lang.org</a> wrote:<br>
> robby has updated `master' from 54b45607a2 to 1f22800d51.<br>
> <a href="http://git.racket-lang.org/plt/54b45607a2..1f22800d51" target="_blank">http://git.racket-lang.org/plt/54b45607a2..1f22800d51</a><br>
><br>
> =====[ One Commit ]=====================================================<br>
> Directory summary:<br>
> 9.8% collects/syntax/<br>
> 90.1% collects/tests/syntax/<br>
><br>
> ~~~~~~~~~~<br>
><br>
> 1f22800 Robby Findler <<a href="mailto:robby@racket-lang.org">robby@racket-lang.org</a>> 2013-06-03 08:38<br>
> :<br>
> | fix bug introduced in 6b2a4ff5<br>
> :<br>
> M collects/syntax/readerr.rkt | 1 +<br>
> A collects/tests/syntax/test-readerr.rkt<br>
><br>
> =====[ Overall Diff ]===================================================<br>
><br>
> collects/syntax/readerr.rkt<br>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
> --- OLD/collects/syntax/readerr.rkt<br>
> +++ NEW/collects/syntax/readerr.rkt<br>
> @@ -30,6 +30,7 @@<br>
> (format "~a~a"<br>
> (cond [(not (error-print-source-location)) ""]<br>
> [(srcloc->string (srcloc source-name line col pos span))<br>
> + =><br>
> (lambda (s)<br>
> (format "~a: " s))]<br>
> [else ""])<br>
><br>
> collects/tests/syntax/test-readerr.rkt<br>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
> --- /dev/null<br>
> +++ NEW/collects/tests/syntax/test-readerr.rkt<br>
> @@ -0,0 +1,9 @@<br>
> +#lang racket/base<br>
> +(require rackunit syntax/readerr)<br>
> +<br>
> +(check-exn<br>
> + (λ (x)<br>
> + (and (exn:fail:read:eof? x)<br>
> + (regexp-match #rx"^y[01: ]* x" (exn-message x))))<br>
> + (λ () (raise-read-eof-error<br>
> + "x" "y" 1 1 1 1)))<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:<br>
<a href="http://barzilay.org/" target="_blank">http://barzilay.org/</a> Maze is Life!<br>
</font></span></blockquote></div><br></div>