[antlr-interest] LT(0) Specification
Carleton Coffrin
carleton.coffrin at gmail.com
Fri Jun 23 07:46:46 PDT 2006
I am having a problem with the Java version of ANTLR 2.7.5 where
in the middle of parsing a token stream LT(0) returns 'null'. In all
cases I have found both LT(-1) and LT(1) have non null values,
although they seem to be a few tokens ahead of what I would expect.
Can someone give me some insight into how LT() works so that I may be
able to track down the source of the 'null' value.
-Carleton
More information about the antlr-interest
mailing list