[antlr-interest] Problem with Special Chars: solved
Premkumar Rathanavelu
rprememail at yahoo.com
Tue Jul 26 08:04:40 PDT 2005
Hi.,
But char literals not allowed in PARSER.
Anyway I fixed the error by including a special token with charVocabulary in LEXER.
Now I could able to parse without any error.
Thanks for all who helped me to sought out the problem.
Keep Going.,
Prem
******************
Message from Micheal J on 26 July
>(~EndOfLine) isn't valid ANTLR usage IIRC. You need to specify the
>indivisual chars thus:
>(~('\n'|'\r'))
---------------------------------
Start your day with Yahoo! - make it your home page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050726/0d9963d7/attachment.html
More information about the antlr-interest
mailing list