[plt-scheme] ports, make-srcloc and recursive reads

From: Dimitris Vyzovitis (vyzo at media.mit.edu)
Date: Mon Apr 23 22:31:01 EDT 2007

On Mon, 23 Apr 2007, Dimitris Vyzovitis wrote:

> On Mon, 23 Apr 2007, Dimitris Vyzovitis wrote:
>
> > On Tue, 24 Apr 2007, Matthew Flatt wrote:
> >
> > > Is there some other way that this shows up, though?
> >
> > Not that I have seen.
>
> port-next-location is defined like this [portfun.c]:
...
> So it can conceivably be triggered by ports that have 0s at line/col/pos
> in plain reads.

Nevermind, scheme_tell_all checks the results of the port's location_fun
with scheme_nonneg_exact_p

-- vyzo



Posted on the users mailing list.