cvs: ZendEngine2 / zend_compile.c
| From: | Marcus Boerger | Date: | Sun, 24 Apr 2005 17:32:05 +0000 |
| Subject: | cvs: ZendEngine2 / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3578@lists.php.net to get a copy of this message | ||
helly Sun Apr 24 13:32:05 2005 EDT
Modified files:
/ZendEngine2 zend_compile.c
Log:
- Need to copy doc comments correct for properties
http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.618&r2=1.619&ty=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.618 ZendEngine2/zend_compile.c:1.619
--- ZendEngine2/zend_compile.c:1.618 Tue Apr 19 18:04:57 2005
+++ ZendEngine2/zend_compile.c Sun Apr 24 13:32:05 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.618 2005/04/19 22:04:57 helly Exp $ */
+/* $Id: zend_compile.c,v 1.619 2005/04/24 17:32:05 helly Exp $ */
#include <zend_language_parser.h>
#include "zend.h"
@@ -42,6 +42,9 @@
static void zend_duplicate_property_info(zend_property_info *property_info)
{
property_info->name = estrndup(property_info->name, property_info->name_length);
+ if (property_info->doc_comment) {
+ property_info->doc_comment = estrndup(property_info->doc_comment,
property_info->doc_comment_len);
+ }
}