1
0
mirror of https://github.com/php/php-src.git synced 2026-04-16 20:41:18 +02:00
This commit is contained in:
Marcus Boerger
2003-06-21 21:56:44 +00:00
parent 60c7abac61
commit c8bebdaf67

View File

@@ -668,7 +668,7 @@ static_scalar: /* compile-time evaluated scalars */
| '+' static_scalar { $$ = $2; }
| '-' static_scalar { zval minus_one; minus_one.type = IS_LONG; minus_one.value.lval = -1; mul_function(&$2.u.constant, &$2.u.constant, &minus_one TSRMLS_CC); $$ = $2; }
| T_ARRAY '(' static_array_pair_list ')' { $$ = $3; $$.u.constant.type = IS_CONSTANT_ARRAY; }
| static_class_constant { $$ = $1; }
| static_class_constant { $$ = $1; }
;
static_class_constant: