[antlr-interest] How do I specify literals in lexer?

atripp54321 atripp at comcast.net
Wed Sep 3 12:46:18 PDT 2003


Hi,

I have a grammar file that contains a lexer but no parser and
I want to specify literals in it. The ANTLR documentation says:

"Second, literals may be specified in the lexer grammar by means of
the literal option".

But there is no "literal" option shown in the documentation.
Is there an easy way to specify literals in the lexer?
Thanks,
Andy


 

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




More information about the antlr-interest mailing list