cvs: ZendEngine2 / zend_compile.c

From: Date: Sun, 05 Mar 2006 18:32:21 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to [email protected] to get a copy of this message
helly		Sun Mar  5 18:32:21 2006 UTC

  Modified files:              
    /ZendEngine2	zend_compile.c 
  Log:
  - Fix comment, too
  
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_compile.c?r1=1.690&r2=1.691&diff_format=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.690 ZendEngine2/zend_compile.c:1.691
--- ZendEngine2/zend_compile.c:1.690	Sun Mar  5 18:23:56 2006
+++ ZendEngine2/zend_compile.c	Sun Mar  5 18:32:21 2006
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_compile.c,v 1.690 2006/03/05 18:23:56 helly Exp $ */
+/* $Id: zend_compile.c,v 1.691 2006/03/05 18:32:21 helly Exp $ */
 
 #include <zend_language_parser.h>
 #include "zend.h"
@@ -2054,7 +2054,7 @@
 		return 1;
 	}
 
-	/* No implementation checks for constructors */
+	/* Checks for constructors only if they are declared in an interface */
 	if ((fe->common.fn_flags & ZEND_ACC_CTOR) && !(proto->common.scope->ce_flags
& ZEND_ACC_INTERFACE)) {
 		return 1;
 	}


Thread (1 message)

  • Marcus Boerger
« previous php.zend-engine.cvs (#4674) next »