<error> handling
[email protected] (Jonathan Mayer) Mon, 25 Nov 2002 16:17:13 -0800 (PST)
| Newsgroups | perl.recdescent |
|---|---|
| Message-ID | <[email protected]> |
I'm experimenting with adding <error> style error reporting to my Parse::RecDescent grammar. My first question is: is there some standard way to overload the handler that actually displays the error messages? Alternately, can I make P::RD not print the messages to stderr, but instead leave them in a buffer than I can poll? My second question is: without using <error>, is there some other way of finding out how deep P::RD was able to get into my text before it failed? Thanks bud, Jonathan. -- Concrete is heavy; iron is hard -- but the grass will prevail. -- E. Abbey