diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-21 16:28:19 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-21 16:28:19 +0100 |
| commit | 6b7545c2255fe2cd88b999f60fe8a9af4261171e (patch) | |
| tree | 91dfd3d8e9166ae3557f832cdeb459fbd017d0e9 /Zend/zend_compile.h | |
| parent | c4b383d6638ed2dc246841559cfaca1c04436247 (diff) | |
| parent | e528762c1c59bc0bd0bd6d78246c14269630cf0f (diff) | |
| download | php-git-6b7545c2255fe2cd88b999f60fe8a9af4261171e.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, 2 insertions, 4 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 8e4e8f5ad9..08281b7ea7 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -94,8 +94,6 @@ 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; } @@ -728,7 +726,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_API int ZEND_FASTCALL lex_scan(zval *zendlval, zend_parser_stack_elem *elem, zend_ast_loc *loc); void startup_scanner(void); void shutdown_scanner(void); @@ -841,7 +839,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); +int ZEND_FASTCALL zendlex(zend_parser_stack_elem *elem, zend_ast_loc *loc); void zend_assert_valid_class_name(const zend_string *const_name); |
