summaryrefslogtreecommitdiff
path: root/Zend/zend_ast.h
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-07-18 15:05:31 +0200
committerNikita Popov <nikic@php.net>2014-07-18 15:05:31 +0200
commitcdcf78f73036616a5c9d15537df1b0d5eef1ead9 (patch)
treeed476a2701a80ec931090d947638dcb80c2d7545 /Zend/zend_ast.h
parent359f99fe4850c1338b1b52b5e98705da4de6debd (diff)
downloadphp-git-cdcf78f73036616a5c9d15537df1b0d5eef1ead9.tar.gz
Fix lexer/compiler interdependency
Diffstat (limited to 'Zend/zend_ast.h')
-rw-r--r--Zend/zend_ast.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_ast.h b/Zend/zend_ast.h
index 490046d057..87cbe9c98e 100644
--- a/Zend/zend_ast.h
+++ b/Zend/zend_ast.h
@@ -128,6 +128,7 @@ typedef struct _zend_ast_func_decl {
zend_bool returns_ref;
zend_uint start_lineno;
zend_uint end_lineno;
+ unsigned char *lex_pos;
zend_string *name;
zend_ast *params;
zend_ast *uses;
@@ -147,7 +148,7 @@ ZEND_API zend_ast *zend_ast_create(
ZEND_API zend_ast *zend_ast_create_func_decl(
zend_ast_kind kind, zend_bool by_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_API zend_ast *zend_ast_create_dynamic(zend_ast_kind kind);