[antlr-interest] [newbie] Lexer Question

jagad jagad at enciety.com
Wed Oct 1 11:19:15 PDT 2003


Hi Again Monty,

Yes, it documented in Literal section.
My declaration should be:

options{ k=3} <--- this is the key :)
tokens{
  MOD = "MOD";
}

IDENT    : ('a'..'z' | 'A'..'Z') ('a'..'z' | 'A'..'Z'|'0'..'9')*
NOTEQU   : '<>';
LESSTHAN : '<'; 

Thanks Monty for your great responses.

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