[antlr-interest] Antlr does not generate Lexer from a composite grammar
Stevenson, Todd (GE Healthcare, consultant)
ToddStevenson at ge.com
Tue Dec 1 10:09:05 PST 2009
I built the grammars described at the bottom of the Composite Grammars
page of the Antlr documentation(i.e. L, P1, P2, and C). When I run
Antlr with no command line arguments on the combined grammar 'C', it
generates C_P1.java, C_P2_P1.java, and CParser.java, but does not
generate CLexer.java. Is this correct behavior? If so, how to I call
the lexer from my source java program?
When I build the other grammars on that page (Root and Delegate), and
run Antlr on 'Root', it generates RootParser.java Root_Delegate.java and
RootLexer.java.
thanks.
I tried it with Antlr 3.2 and Antlr 3.1.3.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091201/f9bfb315/attachment.html
More information about the antlr-interest
mailing list