diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-28 09:31:18 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-28 09:31:18 +0100 |
| commit | 0720313bd452adf451173574e97fd761f90623a2 (patch) | |
| tree | f480af8c708274476f2393b9d976bda4571e8756 /Zend/zend_compile.h | |
| parent | 379e3cb8e32dcd7ef23e7108b60dadd4bc38e059 (diff) | |
| parent | 7f72d771e8581bfff7856b46ae9fb8555b061118 (diff) | |
| download | php-git-0720313bd452adf451173574e97fd761f90623a2.tar.gz | |
Merge branch 'PHP-7.4'
Diffstat (limited to 'Zend/zend_compile.h')
| -rw-r--r-- | Zend/zend_compile.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 640edccfd5..3aa5e6c113 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -94,6 +94,8 @@ typedef struct _zend_ast_znode { znode node; } zend_ast_znode; +ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_znode(znode *node); + static zend_always_inline znode *zend_ast_get_znode(zend_ast *ast) { return &((zend_ast_znode *) ast)->node; } @@ -726,7 +728,7 @@ void zend_file_context_end(zend_file_context *prev_context); extern ZEND_API zend_op_array *(*zend_compile_file)(zend_file_handle *file_handle, int type); extern ZEND_API zend_op_array *(*zend_compile_string)(zval *source_string, char *filename); -ZEND_API int ZEND_FASTCALL lex_scan(zval *zendlval, zend_parser_stack_elem *elem, zend_ast_loc *loc); +ZEND_API int ZEND_FASTCALL lex_scan(zval *zendlval, zend_parser_stack_elem *elem); void startup_scanner(void); void shutdown_scanner(void); @@ -839,7 +841,7 @@ ZEND_API zend_bool zend_is_auto_global_str(char *name, size_t len); ZEND_API size_t zend_dirname(char *path, size_t len); ZEND_API void zend_set_function_arg_flags(zend_function *func); -int ZEND_FASTCALL zendlex(zend_parser_stack_elem *elem, zend_ast_loc *loc); +int ZEND_FASTCALL zendlex(zend_parser_stack_elem *elem); void zend_assert_valid_class_name(const zend_string *const_name); |
