diff options
author | Nikita Popov <nikic@php.net> | 2014-07-18 15:05:31 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-07-18 15:05:31 +0200 |
commit | cdcf78f73036616a5c9d15537df1b0d5eef1ead9 (patch) | |
tree | ed476a2701a80ec931090d947638dcb80c2d7545 /Zend/zend_ast.c | |
parent | 359f99fe4850c1338b1b52b5e98705da4de6debd (diff) | |
download | php-git-cdcf78f73036616a5c9d15537df1b0d5eef1ead9.tar.gz |
Fix lexer/compiler interdependency
Diffstat (limited to 'Zend/zend_ast.c')
-rw-r--r-- | Zend/zend_ast.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_ast.c b/Zend/zend_ast.c index 3edc1f9fda..4b87712e7c 100644 --- a/Zend/zend_ast.c +++ b/Zend/zend_ast.c @@ -47,7 +47,7 @@ ZEND_API zend_ast *zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr) ZEND_API zend_ast *zend_ast_create_func_decl( zend_ast_kind kind, zend_bool returns_ref, zend_uint start_lineno, zend_uint end_lineno, - zend_string *name, zend_ast *params, zend_ast *uses, zend_ast *stmt + unsigned char *lex_pos, zend_string *name, zend_ast *params, zend_ast *uses, zend_ast *stmt ) { zend_ast_func_decl *ast = emalloc(sizeof(zend_ast_func_decl)); @@ -55,6 +55,7 @@ ZEND_API zend_ast *zend_ast_create_func_decl( ast->returns_ref = returns_ref; ast->start_lineno = start_lineno; ast->end_lineno = end_lineno; + ast->lex_pos = lex_pos; ast->name = name; ast->params = params; ast->uses = uses; |