diff options
| author | Zeev Suraski <zeev@php.net> | 1999-04-22 23:08:42 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-04-22 23:08:42 +0000 |
| commit | 551fe7780b570701e93d4680f677801f39e41b49 (patch) | |
| tree | 49ae7ccf88f0d3ab540ad2918ea5c34dfadadef5 /Zend/zend_opcode.c | |
| parent | 327fc20243e0891ef54a25f2b3d38708cb39f02b (diff) | |
| download | php-git-551fe7780b570701e93d4680f677801f39e41b49.tar.gz | |
Make token names uniform, they all begin with T_ now.
Diffstat (limited to 'Zend/zend_opcode.c')
| -rw-r--r-- | Zend/zend_opcode.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c index 5cdc477796..68166ce928 100644 --- a/Zend/zend_opcode.c +++ b/Zend/zend_opcode.c @@ -321,59 +321,59 @@ ZEND_API void *get_binary_op(int opcode) { switch (opcode) { case ZEND_ADD: - case ZEND_ASSIGN_ADD: + case T_ASSIGN_ADD: return (void *) add_function; break; case ZEND_SUB: - case ZEND_ASSIGN_SUB: + case T_ASSIGN_SUB: return (void *) sub_function; break; case ZEND_MUL: - case ZEND_ASSIGN_MUL: + case T_ASSIGN_MUL: return (void *) mul_function; break; case ZEND_DIV: - case ZEND_ASSIGN_DIV: + case T_ASSIGN_DIV: return (void *) div_function; break; case ZEND_MOD: - case ZEND_ASSIGN_MOD: + case T_ASSIGN_MOD: return (void *) mod_function; break; case ZEND_SL: - case ZEND_ASSIGN_SL: + case T_ASSIGN_SL: return (void *) shift_left_function; break; case ZEND_SR: - case ZEND_ASSIGN_SR: + case T_ASSIGN_SR: return (void *) shift_right_function; break; case ZEND_CONCAT: - case ZEND_ASSIGN_CONCAT: + case T_ASSIGN_CONCAT: return (void *) concat_function; break; - case ZEND_IS_EQUAL: + case ZEND_T_IS_EQUAL: return (void *) is_equal_function; break; - case ZEND_IS_NOT_EQUAL: + case ZEND_T_IS_NOT_EQUAL: return (void *) is_not_equal_function; break; case ZEND_IS_SMALLER: return (void *) is_smaller_function; break; - case ZEND_IS_SMALLER_OR_EQUAL: + case ZEND_T_IS_SMALLER_OR_EQUAL: return (void *) is_smaller_or_equal_function; break; case ZEND_BW_OR: - case ZEND_ASSIGN_BW_OR: + case T_ASSIGN_BW_OR: return (void *) bitwise_or_function; break; case ZEND_BW_AND: - case ZEND_ASSIGN_BW_AND: + case T_ASSIGN_BW_AND: return (void *) bitwise_and_function; break; case ZEND_BW_XOR: - case ZEND_ASSIGN_BW_XOR: + case T_ASSIGN_BW_XOR: return (void *) bitwise_xor_function; break; default: |
