[antlr-interest] LT(0)
Terence Parr
parrt at jguru.com
Thu Apr 3 14:53:20 PST 2003
On Thursday, April 3, 2003, at 02:47 PM, mwwickline wrote:
> I can't find anything in the documentation that explicitly states
> whether you can do "LT(0)" and where it's allowed. I'm getting a core
LT(0) is meaningless, I'm afraid. First symbol of lookahead is LT(1) :)
Terence
> dump in the antlr code when I do "LT(0)->getText()" in my tree parser,
> but it doesn't do it for every call to LT(0).
> I'm using an older development version, which may be my problem, but
> I'd still like to know whether LT(0) is allowed, and where it's
> supposed to be a valid call.
>
> Any help on this would be much appreciated!
>
> Thanks,
>
> Martin
>
>
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
>
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
Lecturer in Comp. Sci., University of San Francisco
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list