My weekend was a sleepless one. I have a problem and I hope ANTLR experts will 
help me....
 
Assume, I have defined lexer rules:
 
A  :   '0' .. '9' ;
 
B  :   '4' .. '7';
 
I want to parse digits, that are from 0 to 9  except those that are from 4 to 7.
In reality, I want to parse only digits  0,1,2,3,8,9 ....
 
How do I set up a correct rule? 
 
Please HELP!
 
Thanks,
  Vlastimil 
 http://ironglue.wordpress.com
 
 


      
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to