[plt-scheme] parser-tools

From: Sean Gillespie (seangillespie at bisonofborg.com)
Date: Mon May 14 23:34:54 EDT 2007

>  NOTE: Since the lexer gets its source information from the port, use
>  port-count-lines! to enable the tracking of line and column information.
>  Otherwise the line and column information will return #f.
>  The lexer gets the line and column information directly from the port.  By 
>  default the port doesn't keep track of this information (presumably for 
>  efficiency reasons).  If you call port-count-lines! on the port before 
>  lexing it, then you should get the information you want.  See of 
>  the MzScheme manual.

Excellent, thanks so much for the help

Posted on the users mailing list.