RE: FW: [PHP-DEV] Long awaited line directive
| From: | Richard Lynch | Date: | Sat, 12 Aug 2006 20:52:35 +0000 |
| Subject: | RE: FW: [PHP-DEV] Long awaited line directive | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25333@lists.php.net to get a copy of this message | ||
On Fri, August 11, 2006 5:24 pm, Zeev Suraski wrote:
> At 22:15 11/08/2006, Richard Lynch wrote:
>>On Fri, August 11, 2006 4:30 am, Zeev Suraski wrote:
>> > The solution I propose is to create internal functions that will
>> set
>> > 'virtual' filenames and line ranges, that will be saved in some
>> sort
>> > of a translation table, of real filename + line range to virtual
>> > filename + lineno. The error callback can be made smarter to
>> search
>> > in the translation table, and in case of a match, report the
>> virtual
>> > filename:linenumber in addition to the real ones.
>>
>>This would be a lot more appealing if it also always referenced the
>>original filename and line number as well:
>
> That's what I said! :)
> "report the virtual filename:linenumber -=>in addition<=- to the real
> ones"
I apologize for missing that in your proposal.
I therefore hope it has now been sufficiently highlighted as the
brilliant inclusion that it is, for anybody else who has missed it.
:-)
--
Like Music?
http://l-i-e.com/artists.htm