Re: Line Numbers

[email protected] ((Randal L. Schwartz)) 02 Jan 2004 12:03:20 -0800
Newsgroups perl.recdescent
Organization Stonehenge Consulting Services; Portland, Oregon, USA
Message-ID <[email protected]>
>>>>> "Aaron" == Aaron Dalton <[email protected]> writes:

Aaron> Is there a way (or will there ever be a way) to match error line numbers
Aaron> with the actual input data?

Is your grammar line-oriented?  If so, the line numbers will be off
by at most one.

But the whole field of line numbers and complex parsing is a difficult
task.  P::RD is doing the best it can.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!