File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -548,19 +548,22 @@ static zend_ast_ref *create_enum_case_ast(
548548 ast -> child [0 ]-> attr = 0 ;
549549 ZEND_ASSERT (ZSTR_IS_INTERNED (class_name ));
550550 ZVAL_STR (zend_ast_get_zval (ast -> child [0 ]), class_name );
551+ Z_LINENO_P (zend_ast_get_zval (ast -> child [0 ])) = 0 ;
551552
552553 ast -> child [1 ] = (zend_ast * ) p ; p += sizeof (zend_ast_zval );
553554 ast -> child [1 ]-> kind = ZEND_AST_ZVAL ;
554555 ast -> child [1 ]-> attr = 0 ;
555556 ZEND_ASSERT (ZSTR_IS_INTERNED (case_name ));
556557 ZVAL_STR (zend_ast_get_zval (ast -> child [1 ]), case_name );
558+ Z_LINENO_P (zend_ast_get_zval (ast -> child [1 ])) = 0 ;
557559
558560 if (value ) {
559561 ast -> child [2 ] = (zend_ast * ) p ; p += sizeof (zend_ast_zval );
560562 ast -> child [2 ]-> kind = ZEND_AST_ZVAL ;
561563 ast -> child [2 ]-> attr = 0 ;
562564 ZEND_ASSERT (!Z_REFCOUNTED_P (value ));
563565 ZVAL_COPY_VALUE (zend_ast_get_zval (ast -> child [2 ]), value );
566+ Z_LINENO_P (zend_ast_get_zval (ast -> child [2 ])) = 0 ;
564567 } else {
565568 ast -> child [2 ] = NULL ;
566569 }
You can’t perform that action at this time.
0 commit comments