Hi,

I'm implementing custom error reporting as per these instructions:
http://www.antlr.org/wiki/display/ANTLR3/Error+reporting+and+recovery. As
mentioned in this post, "it is generally the case that the destination for
errors does not change once lexing and parsing has begun, so a refinement on
the above solution is to pass the error reporter object in as an extra
parameter to the lexer and parser constructor methods, instead of using a
completely separate method".  I would like to implement this refinement,
 but I
m not sure how to specify custom constructors for the lexer and parser.  Any
advice would be greatly appreciated.

Cameron.

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/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.

Reply via email to