[antlr-interest] ANTLRWorks debugger error " code too large"

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Jan 25 07:27:38 PST 2008


On 25/1/08 2:07 PM, "Thomas Vial" <tvial at octo.com> wrote:

Hi Thomas,

> I think you can safely remove tokenNames (and getTokenNames()) from the
> generated parser code. They are not used by the parser itself.

Hmm, but ANTLRWorks  self generate something behind scene.
Right?

How I can change that?
  
Note, that I not just develop Java-based grammar, but simple want to use
ANTLRWorks debugger with my grammar (that future going to be C-based)



> Thomas
> 
>  
> 2008/1/25, Ruslan Zasukhin <sunshine at public.kherson.ua>:
> Hi All,
> 
> I have cleanup SQL grammar so
>    it not show errors,
>    it is compiled by ANTRL,
> 
>    ANTRL works debugger is able compile it also
> 
> But then show this error:
> 
> [13:15:41] /tmp/antlrworks/VSQL_ParserParser.java:15: code too large
> [13:15:41]     public static final String[] tokenNames = new String[] {
> [13:15:41]                                  ^
> [13:15:41] 1 error
> 
> 
> How to fix this ?
> 
> I already have assign 750Mb to ANTLRWorks

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the antlr-interest mailing list