cvs: ZendEngine2 / zend_compile.c

From: Date: Mon, 10 Mar 2003 03:04:04 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1037@lists.php.net to get a copy of this message
sniper Sun Mar 9 22:04:04 2003 EDT Modified files: /ZendEngine2 zend_compile.c Log: Fixed some leaks. Patch by Moriyoshi Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.392 ZendEngine2/zend_compile.c:1.393 --- ZendEngine2/zend_compile.c:1.392 Sun Mar 9 17:17:15 2003 +++ ZendEngine2/zend_compile.c Sun Mar 9 22:04:02 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.392 2003/03/09 22:17:15 zeev Exp $ */ +/* $Id: zend_compile.c,v 1.393 2003/03/10 03:04:02 sniper Exp $ */ #include "zend_language_parser.h" #include "zend.h" @@ -2190,6 +2190,7 @@ zend_error(E_COMPILE_ERROR, "Cannot use '%s' as class name as it is reserved", class_name->u.constant.value.str.val); } + new_class_entry->type = ZEND_USER_CLASS; new_class_entry->name = class_name->u.constant.value.str.val; new_class_entry->name_length = class_name->u.constant.value.str.len;

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