cvs: ZendEngine2 / zend_compile.c

From: Date: Thu, 26 Dec 2002 16:27:59 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-731@lists.php.net to get a copy of this message
andrei Thu Dec 26 11:27:59 2002 EDT Modified files: /ZendEngine2 zend_compile.c Log: do_inherit_method_check() is supposed to return 0 or 1, not SUCCESS or FAILURE. Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.335 ZendEngine2/zend_compile.c:1.336 --- ZendEngine2/zend_compile.c:1.335 Tue Dec 10 04:04:12 2002 +++ ZendEngine2/zend_compile.c Thu Dec 26 11:27:59 2002 @@ -1597,7 +1597,8 @@ if ((child_flags & ZEND_ACC_PPP_MASK) > (parent_flags & ZEND_ACC_PPP_MASK)) { zend_error(E_COMPILE_ERROR, "Access level to %s::%s() must be %s (as in class %s)%s", ZEND_FN_SCOPE_NAME(parent), child->common.function_name, zend_visibility_string(parent_flags), ZEND_FN_SCOPE_NAME(child), (parent_flags&ZEND_ACC_PUBLIC) ? "" : " or weaker"); } - return SUCCESS; + + return 0; }

« previous php.zend-engine.cvs (#731) next »