[antlr-interest] Distinguish between number and value
Adrian Ber
beradrian at yahoo.com
Fri Nov 2 10:06:47 PDT 2007
I'm using a CSS grammar and wondering how can I write a rule to distinguish between a number and a value. If I have the input "123" and "123px" I want to know that "123" is a number and "123px" is a length.
I'm new to ANTLR and using v3.
Thanks a lot,
A.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20071102/1d7d16f6/attachment.html
More information about the antlr-interest
mailing list