RE: [PHP-DEV] Labeled Break (nothing at all whatsoever to do withGOTO)
| From: | Dmitry Stogov | Date: | Wed, 30 Nov 2005 08:08:57 +0000 |
| Subject: | RE: [PHP-DEV] Labeled Break (nothing at all whatsoever to do withGOTO) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20877@lists.php.net to get a copy of this message | ||
Is it possible to not extend "zend_brk_cont_element" structures? They are
used during runtime.
Thanks. Dmitry.
> -----Original Message-----
> From: Sara Golemon [mailto:pollita@php.net]
> Sent: Wednesday, November 30, 2005 7:18 AM
> To: internals@lists.php.net
> Subject: Re: [PHP-DEV] Labeled Break (nothing at all
> whatsoever to do withGOTO)
>
>
> > It occured to me on the way onto the train that this
> construct doesn't
> > need pass_two(). When I get home to more bandwidth I'll cook up a
> > simplified version that resolves break distance in
> zend_do_brk_cont() and
> > frees the labels in do_end_loop().
> >
> Okay, simpler/leaner implementation now available. The new
> version only
> touches zend_compile.[ch] and zend_language_parser.y though the
> functionality is the same.
>
> http://libssh2.org/patches/true_labeled_break.diff
>
> -Sara
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>