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 QueryParser.java, 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?

https://javacc.dev.java.net/servlets/ProjectIssues

Or even a patch?

https://javacc.dev.java.net/source/browse/javacc/

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to