[antlr-interest] caseSensitive for one rule
    Wirth. Michael 
    M.Wirth at seeburger.de
       
    Wed Jul 16 06:10:18 PDT 2003
    
    
  
Hi,
is there a way to set caseSensitive to false in one rule in the parser?
Something like I wrote below.
I want that the "end", "End", "eNd", ... ist matched. Only in this rule.
"start" should only be matched as "start", not as "Start".
ruleOne : "start" ruleTwo ;
ruleTwo :	
        options 
        {	
            caseSensitive = false;
        }:
        tok1:"end"
    ;
Is this possible?
Greetings,
	Michael
 
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
    
    
More information about the antlr-interest
mailing list