Re: [ZEND-ENGINE-CVS] Re: cvs: ZendEngine2 / zend_language_parser.y

From: Date: Mon, 12 Jan 2004 07:12:56 +0000
Subject: Re: [ZEND-ENGINE-CVS] Re: cvs: ZendEngine2 / zend_language_parser.y
References: 1 2  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2206@lists.php.net to get a copy of this message
Yeah I reverted to the PHP 4 behavior. When I looked at it yesterday I decided it wasn't needed but it is after all. Thanks, Andi At 09:13 AM 1/12/2004 +0800, Alan Knowles wrote:
Did you want to add the nesting check from bug #26760 - it fixes bug #26065 (Crash when nesting classes) - which was a slightly seperate issues AFAIK Regards Alan Andi Gutmans wrote:
andi            Sun Jan 11 14:37:15 2004 EDT
Modified files:
    /ZendEngine2        zend_language_parser.y   Log:
- Re-allow conditional class declerations. Needless to say that I also - think it's not great coding.. Use polymorphism instead :) Index: ZendEngine2/zend_language_parser.y diff -u ZendEngine2/zend_language_parser.y:1.133 ZendEngine2/zend_language_parser.y:1.134
--- ZendEngine2/zend_language_parser.y:1.133    Thu Jan  8 03:23:23 2004
+++ ZendEngine2/zend_language_parser.y Sun Jan 11 14:37:15 2004 @@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
*/ -/* $Id: zend_language_parser.y,v 1.133 2004/01/08 08:23:23 andi Exp $ */ +/* $Id: zend_language_parser.y,v 1.134 2004/01/11 19:37:15 andi Exp $ */ /* * LALR shift/reduce conflicts and how they are resolved: @@ -169,6 +169,7 @@ inner_statement:
                statement
        |       function_declaration_statement
+       |       class_declaration_statement
;
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com -- Zend Engine CVS Mailing List (http://cvs.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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