[antlr-interest] problem with literal match

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Oct 3 14:07:57 PDT 2001


on 10/3/01 23:34, John Lambert at johnl at jbase.com wrote:

> Ruslan,
> 
> What options do you have in the lexer header?
> 
> I have
> 
> options { 
> defaultErrorHandler=false;
> testLiterals=true;
> caseSensitive=false;
> caseSensitiveLiterals=false;
> charVocabulary = '\3'..'\377';
> }
> 
> 
> and it generates
> 
> void SQLLexer::initLiterals()
> {
> literals["option"] = 51;
> literals["index"] = 43;
> literals["public"] = 30;
> literals["selectany"] = 63;
> literals["link"] = 15;

Hmm, I have the same options as I see.
and I get empty function initLiterals()

I use Rics dev version...
But I did try with 2.7.1 and it seems it also generate empty function.

I will play more.


-- 
Best regards,
Ruslan Zasukhin

-------------------------
Paradigma.

e-mail: ruslan at paradigmasoft.com
web   : http://www.paradigmasoft.com

To subscribe to the Valentina mail list
send a letter to valentina-on at lists.macserve.net



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list