cvs: ZendEngine2 / zend_API.c
| From: | Marcus Boerger | Date: | Fri, 27 Feb 2004 18:18:23 +0000 |
| Subject: | cvs: ZendEngine2 / zend_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2415@lists.php.net to get a copy of this message | ||
helly Fri Feb 27 13:18:23 2004 EDT
Modified files:
/ZendEngine2 zend_API.c
Log:
Add some comments
http://cvs.php.net/diff.php/ZendEngine2/zend_API.c?r1=1.243&r2=1.244&ty=u
Index: ZendEngine2/zend_API.c
diff -u ZendEngine2/zend_API.c:1.243 ZendEngine2/zend_API.c:1.244
--- ZendEngine2/zend_API.c:1.243 Fri Feb 27 04:14:55 2004
+++ ZendEngine2/zend_API.c Fri Feb 27 13:18:22 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_API.c,v 1.243 2004/02/27 09:14:55 helly Exp $ */
+/* $Id: zend_API.c,v 1.244 2004/02/27 18:18:22 helly Exp $ */
#include "zend.h"
#include "zend_execute.h"
@@ -1247,8 +1247,11 @@
}
if (ptr->flags & ZEND_ACC_ABSTRACT) {
if (scope) {
+ /* This is a class that must be abstract itself. Here we set the check info. */
scope->ce_flags |= ZEND_ACC_ABSTRACT;
if (!(scope->ce_flags & ZEND_ACC_INTERFACE)) {
+ /* Since the class is not an interface it needs to be declared as a abstract class. */
+ /* This time we set the flag for the keyword 'abstratc'. */
scope->ce_flags |= ZEND_ACC_ABSTRACT_CLASS;
}
}