diff options
Diffstat (limited to 'Zend/zend_ast.h')
-rw-r--r-- | Zend/zend_ast.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_ast.h b/Zend/zend_ast.h index eb02e9bea0..4d7335853e 100644 --- a/Zend/zend_ast.h +++ b/Zend/zend_ast.h @@ -301,11 +301,11 @@ ZEND_API void ZEND_FASTCALL zend_ast_ref_destroy(zend_ast_ref *ast); typedef void (*zend_ast_apply_func)(zend_ast **ast_ptr); ZEND_API void zend_ast_apply(zend_ast *ast, zend_ast_apply_func fn); -static zend_always_inline zend_bool zend_ast_is_special(zend_ast *ast) { +static zend_always_inline bool zend_ast_is_special(zend_ast *ast) { return (ast->kind >> ZEND_AST_SPECIAL_SHIFT) & 1; } -static zend_always_inline zend_bool zend_ast_is_list(zend_ast *ast) { +static zend_always_inline bool zend_ast_is_list(zend_ast *ast) { return (ast->kind >> ZEND_AST_IS_LIST_SHIFT) & 1; } static zend_always_inline zend_ast_list *zend_ast_get_list(zend_ast *ast) { |