cvs: ZendEngine2 / zend_compile.c

From: Date: Thu, 10 Apr 2003 17:02:31 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1134@lists.php.net to get a copy of this message
sebastian Thu Apr 10 13:02:31 2003 EDT Modified files: /ZendEngine2 zend_compile.c Log: Fix ZTS build. Fix warning. Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.409 ZendEngine2/zend_compile.c:1.410 --- ZendEngine2/zend_compile.c:1.409 Thu Apr 10 11:43:47 2003 +++ ZendEngine2/zend_compile.c Thu Apr 10 13:02:31 2003 @@ -17,11 +17,12 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.409 2003/04/10 15:43:47 sterling Exp $ */ +/* $Id: zend_compile.c,v 1.410 2003/04/10 17:02:31 sebastian Exp $ */ #include "zend_language_parser.h" #include "zend.h" #include "zend_compile.h" +#include "zend_constants.h" #include "zend_llist.h" #include "zend_API.h" #include "zend_fast_cache.h" @@ -194,7 +195,7 @@ } else if (op == ZEND_MOD) { do_op = mod_function; } else if (op == ZEND_BW_NOT) { - bitwise_not_function(&result->u.constant, &op1->u.constant); + bitwise_not_function(&result->u.constant, &op1->u.constant TSRMLS_CC); return; } else if (op == ZEND_BOOL_XOR) { do_op = boolean_xor_function; @@ -2561,7 +2562,7 @@ if (zend_hash_find(&CG(active_class_entry)->constants_table, constant_name->u.constant.value.str.val, constant_name->u.constant.value.str.len+1, (void **) &zresult) != SUCCESS) { - if (zend_get_constant(constant_name->u.constant.value.str.val, constant_name->u.constant.value.str.len, &result->u.constant)) { + if (zend_get_constant(constant_name->u.constant.value.str.val, constant_name->u.constant.value.str.len, &result->u.constant TSRMLS_CC)) { return; } else { zend_error(E_COMPILE_ERROR, "Cannot find %s constant in class %s\n",

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