diff options
author | Dmitry Stogov <dmitry@php.net> | 2006-03-03 13:09:13 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2006-03-03 13:09:13 +0000 |
commit | 2a2050d4e38ae1a19975aecca788af225cd5a4f3 (patch) | |
tree | d1c8c69c2926c8d72d58f765b71b69d11c65594b /Zend/zend_globals.h | |
parent | bfe01c2c1791007623e438d3afe287ec604b37f0 (diff) | |
download | php-git-2a2050d4e38ae1a19975aecca788af225cd5a4f3.tar.gz |
Added support for "continue" and "break" operators with labels. Each loop or switch statement can be marked by label and then it is possible to write "break <label>" instead of "break <number>".
Diffstat (limited to 'Zend/zend_globals.h')
-rw-r--r-- | Zend/zend_globals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_globals.h b/Zend/zend_globals.h index 6af32473b1..a397c65974 100644 --- a/Zend/zend_globals.h +++ b/Zend/zend_globals.h @@ -136,6 +136,10 @@ struct _zend_compiler_globals { HashTable script_encodings_table; char *script_encoding; + HashTable *labels; + zend_label *last_label; + zend_stack labels_stack; + #ifdef ZTS HashTable **static_members; int last_static_member; |