Hi, Marton, Yes! I use ActionScript in which I can pick the solution for Java/C#. Thanks for your help!
Best Regards, Pai Deng On Jul 17, 2010, at 11:11 PM, [email protected] wrote: > 7/17/2010 4:44 PM keltezéssel, Pai Deng írta: >> 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 >> >> >> >> >> >> List: http://www.antlr.org/mailman/listinfo/antlr-interest >> Unsubscribe: >> http://www.antlr.org/mailman/options/antlr-interest/your-email-address >> >> >> > Yes, there is no such option in Antlr 3 any more. > Depending on your target you have to write some code, > There is a link which explains the solution: > > http://www.antlr.org/wiki/pages/viewpage.action?pageId=1782 > > Marton Papp > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
