Hello Andi and hello William and hello Derick

  i used the #line syntax and semantics as that seemed most convenient for
generator tools. William what do you think of the declare idea of Andi?

Regarding the side effects i had the same feeling than you had. Especially
with the filename changing. But i couldn't figure any issue. Maybe some
zend extension has, Derick, how about xdebug?

best regards
marcus

Saturday, August 5, 2006, 12:27:22 AM, you wrote:

> Hi Marcus,

> I'm still trying to figure out whether this patch might have some far
> reaching affects which we're not thinking of.
> For example, debuggers would not work with this and would need some serious
> changes. Also, there might be something inside Zend which expects the
> filename to be "correct". I'll try and figure this out a bit more.

> As to the syntax I prefer not to add a new kind of syntax ala #foo. We
> introduced declare() {} a few years ago exactly for these kind of cases. We
> designed it so that it'd be completely extensible and functionality like
> this could be added.

> Anyway, will ping you re: the side effects but likely there will be some.
> Andi 

>> Saturday, July 15, 2006, 11:26:22 AM, you 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 
>> against i'd 
>> > like to commit this before heading towards OSCON be end of 
>> next week. 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to