[antlr-interest] [newbie] Lexer Question
jagad
jagad at enciety.com
Wed Oct 1 11:04:43 PDT 2003
Hi All,
I've try with :
tokens{
MOD = "MOD";
}
IDENT : ('a'..'z' | 'A'..'Z') ('a'..'z' | 'A'..'Z'|'0'..'9')*
it seems okay.
Then I try with another declaration:
tokens{
NOTEQU = "<>";
}
LESSTHAN : '<';
Generated code (C++) is okay for: X < Y but fail for: X <> Y ANTLR say
unexpected token: >
Could anybody tell me how to solve this conflict?
Thanks in Advance and Best Regards
jagad
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list