summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2004-01-11 19:37:15 +0000
committerAndi Gutmans <andi@php.net>2004-01-11 19:37:15 +0000
commitac5d5c7f35561f9469d77ca3346a4d68c3272a28 (patch)
tree41784ac23d6b08c2c51cff51330d47816705bcf5
parente69f4f6f25602275d0328f5e1f144a1a7cc857ca (diff)
downloadphp-git-ac5d5c7f35561f9469d77ca3346a4d68c3272a28.tar.gz
- Re-allow conditional class declerations. Needless to say that I also
- think it's not great coding.. Use polymorphism instead :)
-rw-r--r--Zend/zend_language_parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_language_parser.y b/Zend/zend_language_parser.y
index 9c0f940d98..f71c1b6712 100644
--- a/Zend/zend_language_parser.y
+++ b/Zend/zend_language_parser.y
@@ -169,6 +169,7 @@ inner_statement_list:
inner_statement:
statement
| function_declaration_statement
+ | class_declaration_statement
;