[antlr-interest] Oh my, code too large

Andreas Ravnestad andreas.ravnestad at gmail.com
Thu Dec 13 11:51:26 PST 2007


On 12/13/07, Andreas Ravnestad <andreas.ravnestad at gmail.com> wrote:
> 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
>



And in related news:

Exception in thread "main" java.lang.Error: Unresolved compilation problem:
	The code of method sequenceType() is exceeding the 65535 bytes limit

I hope christmas holidays will be here soon :(

-Andreas


More information about the antlr-interest mailing list