version 1.1.1.2, 2012/05/29 12:34:36
|
version 1.1.1.3, 2013/07/22 01:32:16
|
Line 3
|
Line 3
|
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Zend Engine | |
| Zend Engine | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) | | | Copyright (c) 1998-2013 Zend Technologies Ltd. (http://www.zend.com) | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| This source file is subject to version 2.00 of the Zend license, | |
| This source file is subject to version 2.00 of the Zend license, | |
| that is bundled with this package in the file LICENSE, and is | |
| that is bundled with this package in the file LICENSE, and is | |
Line 375 unticked_class_declaration_statement:
|
Line 375 unticked_class_declaration_statement:
|
implements_list |
implements_list |
'{' |
'{' |
class_statement_list |
class_statement_list |
'}' { zend_do_end_class_declaration(&$1, &$2 TSRMLS_CC); } | '}' { zend_do_end_class_declaration(&$1, &$3 TSRMLS_CC); } |
| interface_entry T_STRING |
| interface_entry T_STRING |
{ zend_do_begin_class_declaration(&$1, &$2, NULL TSRMLS_CC); } |
{ zend_do_begin_class_declaration(&$1, &$2, NULL TSRMLS_CC); } |
interface_extends_list |
interface_extends_list |
'{' |
'{' |
class_statement_list |
class_statement_list |
'}' { zend_do_end_class_declaration(&$1, &$2 TSRMLS_CC); } | '}' { zend_do_end_class_declaration(&$1, NULL TSRMLS_CC); } |
; |
; |
|
|
|
|
Line 585 trait_use_statement:
|
Line 585 trait_use_statement:
|
; |
; |
|
|
trait_list: |
trait_list: |
fully_qualified_class_name { zend_do_implements_trait(&$1 TSRMLS_CC); } | fully_qualified_class_name { zend_do_use_trait(&$1 TSRMLS_CC); } |
| trait_list ',' fully_qualified_class_name { zend_do_implements_trait(&$3 TSRMLS_CC); } | | trait_list ',' fully_qualified_class_name { zend_do_use_trait(&$3 TSRMLS_CC); } |
; |
; |
|
|
trait_adaptations: |
trait_adaptations: |
Line 605 non_empty_trait_adaptation_list:
|
Line 605 non_empty_trait_adaptation_list:
|
; |
; |
|
|
trait_adaptation_statement: |
trait_adaptation_statement: |
trait_precedence ';' { zend_add_trait_precedence(&$1 TSRMLS_CC); } | trait_precedence ';' |
| trait_alias ';' { zend_add_trait_alias(&$1 TSRMLS_CC); } | | trait_alias ';' |
; |
; |
|
|
trait_precedence: |
trait_precedence: |
trait_method_reference_fully_qualified T_INSTEADOF trait_reference_list { zend_prepare_trait_precedence(&$$, &$1, &$3 TSRMLS_CC); } | trait_method_reference_fully_qualified T_INSTEADOF trait_reference_list { zend_add_trait_precedence(&$1, &$3 TSRMLS_CC); } |
; |
; |
|
|
trait_reference_list: |
trait_reference_list: |
Line 628 trait_method_reference_fully_qualified:
|
Line 628 trait_method_reference_fully_qualified:
|
; |
; |
|
|
trait_alias: |
trait_alias: |
trait_method_reference T_AS trait_modifiers T_STRING { zend_prepare_trait_alias(&$$, &$1, &$3, &$4 TSRMLS_CC); } | trait_method_reference T_AS trait_modifiers T_STRING { zend_add_trait_alias(&$1, &$3, &$4 TSRMLS_CC); } |
| trait_method_reference T_AS member_modifier { zend_prepare_trait_alias(&$$, &$1, &$3, NULL TSRMLS_CC); } | | trait_method_reference T_AS member_modifier { zend_add_trait_alias(&$1, &$3, NULL TSRMLS_CC); } |
; |
; |
|
|
trait_modifiers: |
trait_modifiers: |
Line 1191 static YYSIZE_T zend_yytnamerr(char *yyres, const char
|
Line 1191 static YYSIZE_T zend_yytnamerr(char *yyres, const char
|
|
|
if (LANG_SCNG(yy_text)[0] == 0 && |
if (LANG_SCNG(yy_text)[0] == 0 && |
LANG_SCNG(yy_leng) == 1 && |
LANG_SCNG(yy_leng) == 1 && |
memcmp(yystr, ZEND_STRL("\"end of file\"")) == 0) { | memcmp(yystr, "\"end of file\"", sizeof("\"end of file\"") - 1) == 0) { |
yystpcpy(yyres, "end of file"); |
yystpcpy(yyres, "end of file"); |
return sizeof("end of file")-1; |
return sizeof("end of file")-1; |
} |
} |