Skip to main content

JavaCC with grammar for java 1.5 - error concerning MyToken

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
profos
Offline
Joined: 2005-04-04

Hi,

I downloaded javacc-1.5 recently and tried to generate a new parser with it. Generation was ok but the Java compiler then found several errors in JavaParser and JavaTokenManager, all related to an erroneus definition (?) of MyToken.

I then found several comments on the internet reporting that this error has been caught and repaired already in 2008 but I was not able to find any corrected version of javacc-1.5 on the net (http://java.net/projects/javacc/downloads/download/javacc-5.0.tar.gz and http://java.net/projects/javacc/downloads/download/javacc-5.0.zip). Can anybody tell me the location/url from where I can download the corrected version ?

Thanks a lot!

Dieter