[antlr-interest] Source code level of ANTLRWorks

Ben Corne ben.corne at gmail.com
Wed May 4 06:55:50 PDT 2011


Hi

Is there a way to set the source code level of antlrworks?
I've checked the preferences pane and launchers with no avail.

I need to set it to > 1.5, since I'm using Java Generics:

[15:47:58] 102. ERROR in
/home/bcorne/Downloads/at2-parser-3/grammar/output/ATGrammar3Lexer.java (at
line 114)
[15:47:58] Stack<String> paraphrase = new Stack<String>();
[15:47:58]                                      ^^^^^^
[15:47:58] Syntax error, parameterized types are only available if source
level is 1.5

Regards
Ben Corne


More information about the antlr-interest mailing list