This is also quite often caused by a poorly specified grammar (especially 
lexers) causing lots lookahead and states etc. A good way to determine this is 
to find the DFA in question in the generated source code and see what 
decisions/rules it is handling. This should help you pin down where things are 
getting so big and then you can look at the why.

 

Jim

 

From: antlr-interest-boun...@antlr.org 
[mailto:antlr-interest-boun...@antlr.org] On Behalf Of Horst Dehmer
Sent: Tuesday, October 20, 2009 12:13 PM
To: Marcelo Nichele; antlr-inter...@antlr.org
Subject: Re: [antlr-interest] Bytes Limit

 

Hello Marcelo,

i'm afraid you hit a hard limit with java binary class files. how is your 
grammar looking, is it unusually big?
have also a look at
http://groups.google.com/group/comp.lang.java.machine/browse_thread/thread/b0cf268515f1ef55

good luck,
horst


On 20.10.09 06:59, "Marcelo Nichele" <marcelo.nich...@gmail.com> wrote:

The code of method specialStateTransition(int, IntStream) is exceeding the 
65535 bytes limit




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to il-antlr-interest@googlegroups.com
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

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

Reply via email to