diff options
author | Nikita Popov <nikic@php.net> | 2014-06-26 12:43:20 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-06-26 12:43:20 +0200 |
commit | 1b84b87e78d78089d83aad644b451ada5c2892e1 (patch) | |
tree | 240b37f9e3f98bdb176e10def843626cde83f8bc /Zend/zend_ast.c | |
parent | e26c6d663aaef17a9c8555d64782cd4b5bfac116 (diff) | |
download | php-git-1b84b87e78d78089d83aad644b451ada5c2892e1.tar.gz |
Const eval unary pm (as previously)
Diffstat (limited to 'Zend/zend_ast.c')
-rw-r--r-- | Zend/zend_ast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_ast.c b/Zend/zend_ast.c index c6f5ca8ccc..8256eca8e4 100644 --- a/Zend/zend_ast.c +++ b/Zend/zend_ast.c @@ -353,13 +353,13 @@ ZEND_API void zend_ast_evaluate(zval *result, zend_ast *ast, zend_class_entry *s zval_dtor(&op1); } break; - case ZEND_UNARY_PLUS: + case ZEND_AST_UNARY_PLUS: ZVAL_LONG(&op1, 0); zend_ast_evaluate(&op2, ast->child[0], scope TSRMLS_CC); add_function(result, &op1, &op2 TSRMLS_CC); zval_dtor(&op2); break; - case ZEND_UNARY_MINUS: + case ZEND_AST_UNARY_MINUS: ZVAL_LONG(&op1, 0); zend_ast_evaluate(&op2, ast->child[0], scope TSRMLS_CC); sub_function(result, &op1, &op2 TSRMLS_CC); |