[antlr-interest] “illegal option caseSensitive” in ANTLR v3?

Pai Deng paideng at 163.com
Sat Jul 17 07:44:22 PDT 2010


Hi, guys,

I'm new to ANTLR, using latest version 3.2.
When I try generate my first parser, there is always errors in console...as following:

error(133): Simple.g:3:1: illegal option caseSensitive
error(133): Simple.g:3:1: illegal option testLiterals

The options fragment in the grammar file is:

options {
	language=ActionScript;
	k=3;
	caseSensitive=false;
	testLiterals=false;
}

Yes the error message is clear enough. I just want to confirm are the options 'caseSensitive' and 'testLiterals' not supported in latest ANTLR? 
I can see the options on ANTLR v2's manual. If they are removed in v3, what should I do to get the same/similar functions? 

Anyone can help?
Many thanks.


Best Regards,
Pai Deng






More information about the antlr-interest mailing list