summaryrefslogtreecommitdiff
path: root/Zend/zend_ast.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-06-26 12:43:20 +0200
committerNikita Popov <nikic@php.net>2014-06-26 12:43:20 +0200
commit1b84b87e78d78089d83aad644b451ada5c2892e1 (patch)
tree240b37f9e3f98bdb176e10def843626cde83f8bc /Zend/zend_ast.c
parente26c6d663aaef17a9c8555d64782cd4b5bfac116 (diff)
downloadphp-git-1b84b87e78d78089d83aad644b451ada5c2892e1.tar.gz
Const eval unary pm (as previously)
Diffstat (limited to 'Zend/zend_ast.c')
-rw-r--r--Zend/zend_ast.c4
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);