diff options
author | Felipe Pena <felipe@php.net> | 2010-07-11 22:20:30 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2010-07-11 22:20:30 +0000 |
commit | 423c85fd8b2e3b640124e674b7a67ba269122b80 (patch) | |
tree | 8a0351e05391a3ff253637659ee4f9a0687bf7e8 | |
parent | 031d4d4c2ff8375a5ebc0dfccc8ec977386fcf08 (diff) | |
download | php-git-423c85fd8b2e3b640124e674b7a67ba269122b80.tar.gz |
- Fix rule name
-rw-r--r-- | Zend/zend_language_parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_language_parser.y b/Zend/zend_language_parser.y index 1515b4391c..f34cfb7b45 100644 --- a/Zend/zend_language_parser.y +++ b/Zend/zend_language_parser.y @@ -139,7 +139,7 @@ top_statement ::= function_declaration_statement. { zend_verify_names top_statement ::= class_declaration_statement. { zend_verify_namespace(TSRMLS_C); zend_do_early_binding(TSRMLS_C); } top_statement ::= HALT_COMPILER LPAREN RPAREN SEMICOLON. { zend_do_halt_compiler_register(TSRMLS_C); } top_statement ::= NAMESPACE namespace_name(B) SEMICOLON. { zend_do_begin_namespace(&B, 0 TSRMLS_CC); } -top_statement ::= namespace_start2 LBRACE top_statement_list_i RBRACE. { zend_do_end_namespace(TSRMLS_C); } +top_statement ::= namespace_start2 LBRACE top_statement_list RBRACE. { zend_do_end_namespace(TSRMLS_C); } top_statement ::= namespace_start LBRACE top_statement_list RBRACE. { zend_do_end_namespace(TSRMLS_C); } top_statement ::= USE use_declarations SEMICOLON. { zend_verify_namespace(TSRMLS_C); } top_statement ::= constant_declaration SEMICOLON. { zend_verify_namespace(TSRMLS_C); } |