lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: IndexInput & GCJ
Date Wed, 13 Oct 2004 19:36:11 GMT
Andi Vajda wrote:
>> This code is generated by JavaCC.  I think the best way to fix this 
>> would be to fixup the code automatically whenever it is regenerated. 
>> So, instead of patching, patch build.xml.  In the 
>> javacc-QueryParser task, add a <replace> task which replaces 
>> 'jj_la1_0()' with 'jj_la1_0_method()'.
> That is a brittle kludge as the code that needs to be changed may vary
> everytime the parser is re-generated. There used to be two such methods 
> in 1.4.1 for instance. The proper way to workaround this issue is to fix 
> javacc to not generate such java code in the first place.

It is indeed a brittle kludge.

Are you willing to submit a bug report to JavaCC?

Or even a patch?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message