[antlr-interest] [newbie] Lexer Question

mzukowski at yci.com mzukowski at yci.com
Wed Oct 1 10:45:15 PDT 2003


Look in the documentation about literals.

Monty

-----Original Message-----
From: jagad [mailto:jagad at enciety.com] 
Sent: Wednesday, October 01, 2003 10:02 AM
To: ANTLR Milis
Subject: [antlr-interest] [newbie] Lexer Question

Hi All,

I have lexer with conflicting declaration like this:

MOD    : "MOD"
IDENT  : ('a'..'z' | 'A'..'Z') ('a'..'z' | 'A'..'Z' | '0'..'9')*

How to solve the conflicting between MOD and IDENT?

Thanks in Advanced and Best Regards

jagad



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list