I have a lexer rule listing all the acceptable symbols:

ALL_SYMBOLS:   ('!' | '#' | '%' | '^' | '-' | '+' | '='   |  '<' | '>'
| ',' | '.' |'?' | '/' | '*'  ); // and more......


But sometimes I also want a parser rule to match all symbols except
say "! #", "+ =" or  "+ - * /".  Because I have different needs at
different time, I want to specify a rule using ALL_SYMBOLS except some
symbols.  How should one write such a rule?

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

Reply via email to