[antlr-interest] Why the generated parser code tolerates illegal expression?

William Cai william.cai at yahoo.com
Wed Nov 28 18:51:47 PST 2007


I'm adding the item. By the way, why not add some check code in the generated parser so that we need not declare EOF explicitly? Is this already done in ANTLR v3, or still in to-do list, or just impossible to implement?

Thanks, William

----- Original Message ----
From: Terence Parr <parrt at cs.usfca.edu>
To: antlr-interest Interest <antlr-interest at antlr.org>
Sent: Thursday, November 29, 2007 12:46:21 AM
Subject: Re: [antlr-interest] Why the generated parser code tolerates illegal expression?




On Nov 28, 2007, at 5:52 AM, William Cai wrote:

Thanks Harald. It works now. Should this be recorded in FAQ? 



Sure!  Somebody sign up and add it ;)


Ter



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20071128/4a0b7c31/attachment.html 


More information about the antlr-interest mailing list