Commit:    acd402d4e78ce25e80d19aa564bed1329dcc4ddc
Author:    Xinchen Hui <larue...@php.net>         Thu, 16 Aug 2012 23:01:58 
+0800
Parents:   6a87a21c710d615f8344d01a0692685e36054afe
Branches:  master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=acd402d4e78ce25e80d19aa564bed1329dcc4ddc

Log:
typo

Changed paths:
  M  Zend/zend_compile.c


Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 378cf17..d7ca6ea 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -2278,7 +2278,7 @@ void zend_resolve_goto_label(zend_op_array *op_array, 
zend_op *opline, int pass2
        Z_TYPE_P(label) = IS_NULL;
 
        if (op_array->last_try_catch) {
-               zend_uint i, op_num = opline - CG(active_op_array)->opcodes;
+               zend_uint i, op_num = opline - op_array->opcodes;
                for (i=0; i<op_array->last_try_catch; i++) {
                        if (op_array->try_catch_array[i].try_op > op_num) {
                                break;


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to