[antlr-interest] Java 1.5 Grammar

Martin Probst mail at martin-probst.com
Wed Apr 20 09:02:18 PDT 2005


Hi,

> java.lang.Error: Unresolved compilation problems:
> 
> 	Syntax error on token "internal", delete this token
> 	Char cannot be resolved
> 	Char cannot be resolved
> 	assertEnabled cannot be resolved
> 	LITERAL_assert cannot be resolved
> 	enumEnabled cannot be resolved
> 	LITERAL_enum cannot be resolved
> 	TRIPLE_DOT cannot be resolved
> 
> 	at recognition.CfscriptLexer.<init>(CfscriptLexer.java:3)
> 	at recognition.CFScriptMain.main(CFScriptMain.java:31)
> Exception in thread "main"

These are errors resulting in compilation problems within Eclipse. E.g. if
Eclipse cannot compile a file because of an error within the java file, it
performs a partial compilation that will result in this error if the class
is executed.

It actually looks as if you have classpath problems, but that's a guess.

Try to find the errors within Eclipse (marked with a red sign) and fix them.

>   Maybe, it is because of that built-in assertEnabled or 
> enumEnabled functions and things like that. What can i do to 
> avoid this problems? how can i make the system resolve this stuff?

Probably not as it's a compilation problem.

Regards,
Martin



More information about the antlr-interest mailing list