Re: [PHP-DEV] Re: Long awaited line directive

2006-08-02 Thread Robert Cummings
On Wed, 2006-08-02 at 17:14 -0500, Richard Lynch wrote: > On Sat, July 15, 2006 9:47 pm, Robert Cummings wrote: > > This has some really good implications for helping PHP users get the > > line numbers more correct. For instance, from what I gather, my > > template > > engine can use this to dynami

Re: [PHP-DEV] Re: Long awaited line directive

2006-08-02 Thread Richard Lynch
On Sat, July 15, 2006 9:47 pm, Robert Cummings wrote: > This has some really good implications for helping PHP users get the > line numbers more correct. For instance, from what I gather, my > template > engine can use this to dynamically generate PHP code from an XML tag > and > when the generated

RE: [PHP-DEV] Re: Long awaited line directive

2006-07-21 Thread Andi Gutmans
> Subject: Re: [PHP-DEV] Re: Long awaited line directive > > Hello Sara, > > Monday, July 17, 2006, 7:09:30 AM, you wrote: > > >>> One minor thought I'd offer up is an option INI setting > to disable > >>> creation of the opcode. This allo

Re: [PHP-DEV] Re: Long awaited line directive

2006-07-17 Thread Marcus Boerger
Hello Sara, Monday, July 17, 2006, 7:09:30 AM, you wrote: >>> One minor thought I'd offer up is an option INI setting to disable >>> creation of the opcode. This allows the #line directives to be used in >>> dev/debug environments without causing an impact for production servers >>> during ex

Re: [PHP-DEV] Re: Long awaited line directive

2006-07-17 Thread Sara Golemon
One minor thought I'd offer up is an option INI setting to disable creation of the opcode. This allows the #line directives to be used in dev/debug environments without causing an impact for production servers during execution. It's not a major performance hit, but it's something. Why not le

Re: [PHP-DEV] Re: Long awaited line directive

2006-07-16 Thread Jeff Moore
On Jul 15, 2006, at 11:29 PM, Sara Golemon wrote: One minor thought I'd offer up is an option INI setting to disable creation of the opcode. This allows the #line directives to be used in dev/debug environments without causing an impact for production servers during execution. It's not a ma

Re: [PHP-DEV] Re: Long awaited line directive

2006-07-16 Thread Marcus Boerger
Hello Stanislav, Sunday, July 16, 2006, 9:52:59 AM, you wrote: RC>>>will tell them in what included template source file and on what line RC>>>they screwed up rather than them seeing an error that has no obvious RC>>>relationship whatsoever to what they did (did I get that right RC>>>Marcus?).

Re: [PHP-DEV] Re: Long awaited line directive

2006-07-16 Thread Marcus Boerger
Hello Robert, Sunday, July 16, 2006, 4:47:08 AM, you wrote: > On Sat, 2006-07-15 at 22:35, Richard Lynch wrote: >> On Sat, July 15, 2006 1:48 pm, Pierre wrote: >> > On Sat, 15 Jul 2006 20:26:22 +0200 >> > [EMAIL PROTECTED] (Marcus Boerger) wrote: >> > >> >> Hello internals, >> >> >> >> attached

Re: [PHP-DEV] Re: Long awaited line directive

2006-07-16 Thread Stanislav Malyshev
RC>>will tell them in what included template source file and on what line RC>>they screwed up rather than them seeing an error that has no obvious RC>>relationship whatsoever to what they did (did I get that right RC>>Marcus?). Why can't you make your engine put comments in the code? -- Stanis

[PHP-DEV] Re: Long awaited line directive

2006-07-15 Thread Sara Golemon
attached is a patch that brings the '#line' directive to php. This is especially usefull for parser generators or any other code shuffling/generator tools. Any opinions? If nothing speaks against i'd like to commit this before heading towards OSCON be end of next week. (oatch is against head of c

Re: [PHP-DEV] Re: Long awaited line directive

2006-07-15 Thread Robert Cummings
On Sat, 2006-07-15 at 22:35, Richard Lynch wrote: > On Sat, July 15, 2006 1:48 pm, Pierre wrote: > > On Sat, 15 Jul 2006 20:26:22 +0200 > > [EMAIL PROTECTED] (Marcus Boerger) wrote: > > > >> Hello internals, > >> > >> attached is a patch that brings the '#line' directive to php. > >> This is espe

Re: [PHP-DEV] Re: Long awaited line directive

2006-07-15 Thread Richard Lynch
On Sat, July 15, 2006 1:48 pm, Pierre wrote: > On Sat, 15 Jul 2006 20:26:22 +0200 > [EMAIL PROTECTED] (Marcus Boerger) wrote: > >> Hello internals, >> >> attached is a patch that brings the '#line' directive to php. >> This is especially usefull for parser generators or any other >> code shufflin

[PHP-DEV] Re: Long awaited line directive

2006-07-15 Thread Marcus Boerger
Hello Pierre, Saturday, July 15, 2006, 8:48:01 PM, you wrote: > On Sat, 15 Jul 2006 20:26:22 +0200 > [EMAIL PROTECTED] (Marcus Boerger) wrote: >> Hello internals, >> >> attached is a patch that brings the '#line' directive to php. >> This is especially usefull for parser generators or any oth

[PHP-DEV] Re: Long awaited line directive

2006-07-15 Thread Pierre
On Sat, 15 Jul 2006 20:26:22 +0200 [EMAIL PROTECTED] (Marcus Boerger) wrote: > Hello internals, > > attached is a patch that brings the '#line' directive to php. > This is especially usefull for parser generators or any other > code shuffling/generator tools. Any opinions? If nothing speaks > a