summaryrefslogtreecommitdiff
path: root/Zend/zend_ast.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-07-05 12:16:30 +0300
committerDmitry Stogov <dmitry@zend.com>2019-07-05 12:16:30 +0300
commit1b5b8175aff0fba41ce94d75d1ddf0f7be630b9c (patch)
tree7fef7cefe333517cf9640eee34b198e865a4f9e5 /Zend/zend_ast.c
parent215e9d069c3dae40d94894d1a938d771cecc2549 (diff)
parent48ca5a1e176c5301fedd1bc4f661969d6f9a49eb (diff)
downloadphp-git-1b5b8175aff0fba41ce94d75d1ddf0f7be630b9c.tar.gz
Merge branch 'PHP-7.4'
* PHP-7.4: Replace ZEND_ASSIGN_ADD (and others) by ZEND_ASSIGN_OP, ZEND_ASSIGN_DIM_OP, ZEND_ASSGIN_OBJ_OP and ZEND_ASSIGN_STATIC_PROP_OP
Diffstat (limited to 'Zend/zend_ast.c')
-rw-r--r--Zend/zend_ast.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/Zend/zend_ast.c b/Zend/zend_ast.c
index 7a68554ce4..54944d6ffd 100644
--- a/Zend/zend_ast.c
+++ b/Zend/zend_ast.c
@@ -1714,18 +1714,18 @@ simple_list:
case ZEND_AST_ASSIGN_REF: BINARY_OP(" =& ", 90, 91, 90);
case ZEND_AST_ASSIGN_OP:
switch (ast->attr) {
- case ZEND_ASSIGN_ADD: BINARY_OP(" += ", 90, 91, 90);
- case ZEND_ASSIGN_SUB: BINARY_OP(" -= ", 90, 91, 90);
- case ZEND_ASSIGN_MUL: BINARY_OP(" *= ", 90, 91, 90);
- case ZEND_ASSIGN_DIV: BINARY_OP(" /= ", 90, 91, 90);
- case ZEND_ASSIGN_MOD: BINARY_OP(" %= ", 90, 91, 90);
- case ZEND_ASSIGN_SL: BINARY_OP(" <<= ", 90, 91, 90);
- case ZEND_ASSIGN_SR: BINARY_OP(" >>= ", 90, 91, 90);
- case ZEND_ASSIGN_CONCAT: BINARY_OP(" .= ", 90, 91, 90);
- case ZEND_ASSIGN_BW_OR: BINARY_OP(" |= ", 90, 91, 90);
- case ZEND_ASSIGN_BW_AND: BINARY_OP(" &= ", 90, 91, 90);
- case ZEND_ASSIGN_BW_XOR: BINARY_OP(" ^= ", 90, 91, 90);
- case ZEND_ASSIGN_POW: BINARY_OP(" **= ", 90, 91, 90);
+ case ZEND_ADD: BINARY_OP(" += ", 90, 91, 90);
+ case ZEND_SUB: BINARY_OP(" -= ", 90, 91, 90);
+ case ZEND_MUL: BINARY_OP(" *= ", 90, 91, 90);
+ case ZEND_DIV: BINARY_OP(" /= ", 90, 91, 90);
+ case ZEND_MOD: BINARY_OP(" %= ", 90, 91, 90);
+ case ZEND_SL: BINARY_OP(" <<= ", 90, 91, 90);
+ case ZEND_SR: BINARY_OP(" >>= ", 90, 91, 90);
+ case ZEND_CONCAT: BINARY_OP(" .= ", 90, 91, 90);
+ case ZEND_BW_OR: BINARY_OP(" |= ", 90, 91, 90);
+ case ZEND_BW_AND: BINARY_OP(" &= ", 90, 91, 90);
+ case ZEND_BW_XOR: BINARY_OP(" ^= ", 90, 91, 90);
+ case ZEND_POW: BINARY_OP(" **= ", 90, 91, 90);
EMPTY_SWITCH_DEFAULT_CASE();
}
break;