cvs: ZendEngine2(PHP_5_3) / zend_compile.c

[email protected] ("Marcus Boerger")
Newsgroups php.zend-engine.cvs
Message-ID <cvshelly1206123607@cvsserver>
helly		Fri Mar 21 18:20:07 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /ZendEngine2	zend_compile.c 
  Log:
  - Simplify
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_compile.c?r1=1.647.2.27.2.41.2.53&r2=1.647.2.27.2.41.2.54&diff_format=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.647.2.27.2.41.2.53 ZendEngine2/zend_compile.c:1.647.2.27.2.41.2.54
--- ZendEngine2/zend_compile.c:1.647.2.27.2.41.2.53	Tue Mar 18 11:37:00 2008
+++ ZendEngine2/zend_compile.c	Fri Mar 21 18:20:07 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_compile.c,v 1.647.2.27.2.41.2.53 2008/03/18 11:37:00 dmitry Exp $ */
+/* $Id: zend_compile.c,v 1.647.2.27.2.41.2.54 2008/03/21 18:20:07 helly Exp $ */
 
 #include <zend_language_parser.h>
 #include "zend.h"
@@ -3429,8 +3429,7 @@
 	int len, clen;
 	cfilename = zend_get_compiled_filename(TSRMLS_C);
 	clen = strlen(cfilename);
-	zend_mangle_property_name(&name, &len, haltoff,
-		sizeof("__COMPILER_HALT_OFFSET__") - 1, cfilename, clen, 0);
+	zend_mangle_property_name(&name, &len, haltoff, sizeof(haltoff) - 1, cfilename, clen, 0);
 	zend_register_long_constant(name, len+1, zend_get_scanned_file_offset(TSRMLS_C), CONST_CS, 0 TSRMLS_CC);
 	pefree(name, 0);
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.