This commit is contained in:
Zeev Suraski 2003-06-22 10:12:25 +00:00
parent 5655ebe6f2
commit f263aecc8e

View file

@ -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; }