Gavin, Thanks so much!!! That did it!
Wasted so much time on this one.. Wonder why this is not the default behavior? Anyway, Thanks again!! Vitaliy -----Original Message----- From: Gavin Lambert [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2008 09:41 To: Vitaliy; [EMAIL PROTECTED] Subject: Re: [antlr-interest] Failing upon illigal input termination At 04:55 6/11/2008, Vitaliy wrote: >That is, If we've got the input: >LegalStatement1, >LegalStatement2, >... >LegalStatementN, >IllegalStatement, > >Antlr would stop on LegalStatementN, >Instead of reporting an error for IllegalStatement. > >What can I do to achieve this behavior? Add EOF to the end of your top-level parser rule. __________ Information from ESET NOD32 Antivirus, version of virus signature database 3589 (20081106) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3591 (20081106) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
