[antlr-interest] Access to lexer warning/error messages after parsing

Sam Ellis sam.ellis at arm.com
Sun Jul 6 13:34:03 PDT 2008


On 2/7/08 22:15, "Gavin Lambert" <antlr at mirality.co.nz> wrote:
> At 19:30 2/07/2008, Sam Ellis wrote:
>> The approach I used in my grammar was to define an
>> IErrorReporter interface
> Any chance you could Wiki your solution for others to use?  And
> maybe even get it incorporated into a future version of the
> runtime?

I have added "Default Error Reporting Behavior" and "Custom Error Reporting"
sections to this wiki page:

http://www.antlr.org/wiki/display/ANTLR3/Error+reporting+and+recovery

Any comments?

-- 
Sam Ellis, Engineering Manager,
Product Engineering Group,                 Tel: +44 (0) 1223 400516
System Design Division,                    Fax: +44 (0) 1223 400887
ARM Ltd., 110 Fulbourn Road,               skype:armsamellis
Cambridge, CB1 9NJ                         mailto:sam.ellis at arm.com



-- 
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.




More information about the antlr-interest mailing list