]> granicus.if.org Git - php/commitdiff
- Re-allow conditional class declerations. Needless to say that I also
authorAndi Gutmans <andi@php.net>
Sun, 11 Jan 2004 19:37:15 +0000 (19:37 +0000)
committerAndi Gutmans <andi@php.net>
Sun, 11 Jan 2004 19:37:15 +0000 (19:37 +0000)
- think it's not great coding.. Use polymorphism instead :)

Zend/zend_language_parser.y

index 9c0f940d98c9ec371205aa621fa48dee39e7c9b7..f71c1b6712db6939809908a07117ac07ef506219 100644 (file)
@@ -169,6 +169,7 @@ inner_statement_list:
 inner_statement:
                statement
        |       function_declaration_statement
+       |       class_declaration_statement
 ;