--
You received this message because you are subscribed to the Google Groups "antlr-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antlr-discussi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thank you.
Can you give me specific example grammar file where *.tokens ≠ *Lexer.tokens :D
grammar Tok;
tokens { A, B, C }
a : X ;
X: [a-zA-Z]+;
<phase = PARSER> A=2<phase = PARSER> B=3<phase = PARSER> C=4X=1
The file is a temporary file created during the build process. It’s not checked into source control, and it’s not distributed with the final application or library which uses ANTLR. Considering the negligible size of the file(s) in question, I don’t currently see any advantage to attempting to eliminate the creation of one or more of them during the build process.
If you encounter a bug in the handling of these files, that would be a separate issue we would want to address.
Thanks,
Sam
--