File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9995,6 +9995,8 @@ static void zend_compile_const_expr_const(zend_ast **ast_ptr) /* {{{ */
9995
9995
zval result ;
9996
9996
zend_string * resolved_name ;
9997
9997
9998
+ CG (zend_lineno ) = zend_ast_get_lineno (ast );
9999
+
9998
10000
resolved_name = zend_resolve_const_name (
9999
10001
orig_name , name_ast -> attr , & is_fully_qualified );
10000
10002
@@ -10005,7 +10007,6 @@ static void zend_compile_const_expr_const(zend_ast **ast_ptr) /* {{{ */
10005
10007
return ;
10006
10008
}
10007
10009
10008
- CG (zend_lineno ) = zend_ast_get_lineno (ast );
10009
10010
zend_ast_destroy (ast );
10010
10011
* ast_ptr = zend_ast_create_constant (resolved_name ,
10011
10012
!is_fully_qualified && FC (current_namespace ) ? IS_CONSTANT_UNQUALIFIED_IN_NAMESPACE : 0 );
You can’t perform that action at this time.
0 commit comments