[antlr-interest] Token position 0, -1

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


Hello,

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?

Ale


More information about the antlr-interest mailing list