[antlr-interest] Patch to fix "method to big" errors

Terence Parr parrt at jguru.com
Wed Oct 30 16:04:15 PST 2002


Hi Paul,

Have you tried the 2.7.2 version(s) yet?  I fixed LOTS of stuff there.

Ter

On Wednesday, October 30, 2002, at 03:39  PM, Paul J. Lucas wrote:

> 	ANTLR was generating static arrays that were huge for my lexer.
> 	It made Java complain about the method being too big (over 65535
> 	bytes).
>
> 	I hacked the ANTLR source code to change the way the tables are
> 	generated.  I've attached a patch file.  I hope this makes it
> 	into the main ANTLR source.
>
> 	- Paul
>
>
>
> Your use of Yahoo! Groups is subject to 
> http://docs.yahoo.com/info/terms/
>
> <patch>
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
Lecturer in Comp. Sci., University of San Francisco


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list