[antlr-interest] To bypass the error message - no viable alternative at '<EOF>'

namrata raina nishudec at yahoo.com
Wed Apr 15 12:43:23 PDT 2009


Hey 
 
Actually i have tried to implement a grammar switching in which whenever the lexer channel gets switched an EOF token is emitted.
 
The problem is that these EOF tokens are not discarded and anltr flashes an error message - no viable alternative at the input - '<EOF>'


      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090416/97b1df12/attachment.html 


More information about the antlr-interest mailing list