[antlr-interest] Another composite grammar issue
Bill Andersen
bill.andersen at mac.com
Sun Jan 9 22:10:22 PST 2011
I have two lexer grammars, A and B, such that B imports A. I compile A and get an A.tokens file generated. Then I compile B. I expect B.tokens to have all the token definitions in A.tokens. This works. But, when I compile B, A.tokens seems to be re-generated and then includes all token definitions from B as well. In short, after compiling B, B.tokens = A.tokens.
I suspect this isn't correct.
More information about the antlr-interest
mailing list