[plt-scheme] Getting line-no for s-exps read by (read)

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed May 23 23:45:16 EDT 2007

At Thu, 24 May 2007 09:06:41 +0530, "Sridhar Ratna" wrote:
> I would be much grateful if anyone could point me to a way to get the
> line-no for each of the forms read by (read).

Use `read-syntax' to get objects that have source locations.

Matthew



Posted on the users mailing list.