mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Simplify
This commit is contained in:
parent
5655ebe6f2
commit
f263aecc8e
1 changed files with 2 additions and 7 deletions
|
@ -598,15 +598,10 @@ fully_qualified_class_name:
|
|||
;
|
||||
|
||||
dynamic_class_name:
|
||||
static_or_variable_string { zend_do_fetch_class(&$$, &$1 TSRMLS_CC); }
|
||||
T_STRING { zend_do_fetch_class(&$$, &$1 TSRMLS_CC); }
|
||||
| r_variable_without_static_member { zend_do_fetch_class(&$$, &$1 TSRMLS_CC); }
|
||||
;
|
||||
|
||||
static_or_variable_string:
|
||||
T_STRING { $$ = $1; }
|
||||
| r_variable_without_static_member { $$ = $1; }
|
||||
;
|
||||
|
||||
|
||||
exit_expr:
|
||||
/* empty */ { memset(&$$, 0, sizeof(znode)); $$.op_type = IS_UNUSED; }
|
||||
| '(' ')' { memset(&$$, 0, sizeof(znode)); $$.op_type = IS_UNUSED; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue