[antlr-interest] a strange problem

Su Zhang westlifezs at gmail.com
Sun Nov 23 14:41:55 PST 2008


Hi all,
I encountered a very strange problem. I put a string 'read' in the grammar
code, and when matching, I would like the input to match the toke ID which
is defined as ('a'..'z'). Obviously, the IDshould match read, but why it
cannot match, just becasue I have a hardcoded string 'read' in the grammar?
does everyone know how can i get ride of this trouble?

Thank you!
Su

-- 
Su Zhang
Computer Information and Science
Kansas State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081123/6abc147b/attachment.html 


More information about the antlr-interest mailing list