[antlr-interest] abstract factory LT(1)

Muhammad Ali ali.jan at gmail.com
Mon May 9 23:41:59 PDT 2005


Hi everyone,

I have genereated some C# code from a grammar file for antlr that I 
downloaded.

The generated code has a lot of calls like this:

[code]
tmp1_AST = (XQueryAST) astFactory.create(LT(1));
[/code]

This gives me errors because LT is also defined in the same file as a field 
to represent the 'less-than' (<) token.

Anyway, what is LT(1)? Is there something else with which I can replace it?

Thanks...

Regards,
Ali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050510/21b7ea9c/attachment.html


More information about the antlr-interest mailing list