com php-src: typo: Zend/zend_compile.c

From: Date: Sat, 13 Jun 2015 02:56:30 +0000
Subject: com php-src: typo: Zend/zend_compile.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87242@lists.php.net to get a copy of this message
Commit: 20d85e4f0214035e41e6f2c33dd11ffb5c37e8ca Author: Xinchen Hui <laruence@php.net> Sat, 13 Jun 2015 10:56:30 +0800 Parents: 829c7a1bb0888632a64eb71077192f5e89badbd9 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=20d85e4f0214035e41e6f2c33dd11ffb5c37e8ca Log: typo Changed paths: M Zend/zend_compile.c Diff: diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index c6e6ff8..7e25c89 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -4999,7 +4999,7 @@ void zend_compile_class_decl(zend_ast *ast) /* {{{ */ zend_class_entry *original_ce = CG(active_class_entry); znode original_implementing_class = FC(implementing_class); - if (EXPECTED(decl->flags & ZEND_ACC_ANON_CLASS) == 0) { + if (EXPECTED((decl->flags & ZEND_ACC_ANON_CLASS) == 0)) { if (CG(active_class_entry)) { zend_error_noreturn(E_COMPILE_ERROR, "Class declarations may not be nested"); } @@ -5043,7 +5043,7 @@ void zend_compile_class_decl(zend_ast *ast) /* {{{ */ ce->info.user.doc_comment = zend_string_copy(decl->doc_comment); } - if (UNEXPECTED(decl->flags & ZEND_ACC_ANON_CLASS)) { + if (UNEXPECTED((decl->flags & ZEND_ACC_ANON_CLASS))) { /* Serialization is not supported for anonymous classes */ ce->serialize = zend_class_serialize_deny; ce->unserialize = zend_class_unserialize_deny;

« previous php.cvs (#87242) next »