diff options
author | Nikita Popov <nikic@php.net> | 2014-07-12 14:03:42 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-07-12 14:03:42 +0200 |
commit | 8577f58e525b285e816691668ea714b5b1fc78bc (patch) | |
tree | 22befa834d0923131d928e32ac8823d888373617 /Zend/zend_ast.h | |
parent | e367e68111bb557c00fc008759b8fc7310587843 (diff) | |
download | php-git-8577f58e525b285e816691668ea714b5b1fc78bc.tar.gz |
Store (bad) estimate of lineno with ast
Currently not used yet
Diffstat (limited to 'Zend/zend_ast.h')
-rw-r--r-- | Zend/zend_ast.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_ast.h b/Zend/zend_ast.h index 410fce578a..59d383a64e 100644 --- a/Zend/zend_ast.h +++ b/Zend/zend_ast.h @@ -100,6 +100,7 @@ typedef unsigned short zend_ast_attr; struct _zend_ast { zend_ast_kind kind; /* Type of the node (either opcode or ZEND_AST_* constant) */ zend_ast_attr attr; /* Additional attribute, use depending on node type */ + zend_uint lineno; /* Line number */ zend_uint children; /* Number of children */ zend_ast *child[1]; /* Array of children (using struct hack) */ }; @@ -107,6 +108,7 @@ struct _zend_ast { typedef struct _zend_ast_zval { zend_ast_kind kind; zend_ast_attr attr; + zend_uint lineno; zval val; } zend_ast_zval; |