[antlr-interest] Oh my, code too large

Andreas Ravnestad andreas.ravnestad at gmail.com
Thu Dec 13 11:35:19 PST 2007


Sometimes ANTLR generates a lexer which will make javac choke on
itself with a message resembling this:

src/no/ntnu/xqft/parse/XQFTLexer.java:14313: code too large
        public int specialStateTransition(int s, IntStream input)
throws NoViableAltException {
                   ^

Any ideas how to get around this? Maybe a 64 bit operating system? :)

-Andreas


More information about the antlr-interest mailing list