[antlr-interest] Token position 0, -1

Ale Strooisma alestrooisma at gmx.net
Fri Jul 6 02:47:27 PDT 2012


if I try to get the position of a token in the file with getLine and 
getCharPositionInLine, many of my tokens give the coördinates 0, -1, 
which obviously is wrong. Why is this the case, and how can I fix it?


More information about the antlr-interest mailing list