From ef26f956769de6c6f1c485f2df04739bde56d89b Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sat, 19 Jul 2014 13:13:58 +0200 Subject: [PATCH] Load lineno when compiling exprs --- Zend/zend_compile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index f634eb7b37..e30bb4d123 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -7351,6 +7351,8 @@ void zend_compile_stmt(zend_ast *ast TSRMLS_DC) { } void zend_compile_expr(znode *result, zend_ast *ast TSRMLS_DC) { + CG(zend_lineno) = ast->lineno; + switch (ast->kind) { case ZEND_AST_ZVAL: ZVAL_COPY(&result->u.constant, zend_ast_get_zval(ast)); -- 2.50.1