token location

Nov 17, 2009 at 3:27 PM
Edited Nov 17, 2009 at 9:28 PM



Thanks you for having created the GPPG/Lex Tools.
I am wondering whether this project has other public available documentations.


Indeed I'm looking for a means to provide a unique identifier for each token, such as the function Parsing.rhs_end available with fsyacc.

It seems that LexLocation fields (@1..N or Scanner.yylloc) are always null during my computation :'(



EDIT : I have just not seen that all tokens must have location information and not only the relevant ones... because of the method Merge


Best Regards