[antlr-interest] Tree grammar error

Prados Valiente Enrique Enrique.PradosValiente at reale.es
Wed Aug 25 23:33:54 PDT 2010


Thanks, it's right.

Any sample of Lexer, Parser and Tree grammar ??

-----Mensaje original-----

> I try generate tree grammar, and I get this error:

I believe that your problem is that you *don't* have a tree grammar. 
Instead, what you have a is a combined grammar (Lexer and Parser).
Remove the word "tree" from the line which contains "tree grammar" and 
see if that fixes your problem.



More information about the antlr-interest mailing list