[antlr-interest] Exeeding 64K limit for method code

Mark Bednarczyk voytechs at yahoo.com
Sun Mar 25 12:11:50 PDT 2007


The code that is generated by certain rules exceeds the 64K limit imposed by
java spec. Sometimes a single token added can force the rules to be
generated in such a way that they too big for a single method. The problem
only occures in the parser. Its hard to back out of it too, as its not
obvious where the problem started. There are no warnings comming from the
ANTLR tool until you try to compile the generated code.
 
Anyone have any ideas how to avoid this problem?
 
Cheers,
mark...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070325/813c0b1c/attachment.html 


More information about the antlr-interest mailing list