[antlr-interest] Problems generating a tree gramar. It doesn't take in consideration the file.tokens.

Marwan Ajraoui marwan.alephn at gmail.com
Tue Aug 18 04:32:28 PDT 2009


Having Mygramar.Tokens I want to generate a tree gramar, but when i
genertated it does generate the same tokens with others integer values
as IDs.

Is that normal? Or there is something I'm missing. I think that the
integer IDs for a tokens should at least have the same value. I'm
having a missMatchExpetions in the code generated for that reason.

Any idea?

Many thx,
-- 
Marouane


More information about the antlr-interest mailing list