[antlr-interest] "code too large" / can't split AST output into smaller files

Gordon Tyler Gordon.Tyler at quest.com
Fri Oct 8 11:17:59 PDT 2010


Yes, it's a limit set in the JVM classfile spec.

-----Original Message-----
From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Andreas Stefik
Sent: October 8, 2010 12:35 PM
To: Edson Tirelli
Cc: antlr-interest at antlr.org
Subject: Re: [antlr-interest] "code too large" / can't split AST output into smaller files

>   Also, I might be stating the obvious, but I lost some time on this
> recently: usually the "code too large" refers to a method that is over
> the 64k limit, and not due to the size of the whole class. If that is
> your case, it does not help to split the grammar, as the offending
> method will sill be there.

Is this a limitation in Java?

Stefik

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address


More information about the antlr-interest mailing list