Skip to content

Commit 78ee5db

Browse files
committed
improve fscript
1 parent e0e56d4 commit 78ee5db

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/changes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# 最新动态
2+
2025/07/29
3+
* 修复由于没有正确返回返回值导致诸如"&q"表达式会死循环的问题(感谢朝泽提供补丁)
4+
25
2025/07/26
36
* 完善darray/dlist
47

src/tkc/fscript.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2170,7 +2170,7 @@ static ret_t fscript_parse_statements(fscript_parser_t* parser, fscript_func_cal
21702170
}
21712171
} while (parser->token.type != TOKEN_EOF);
21722172

2173-
return RET_OK;
2173+
return ret;
21742174
}
21752175

21762176
static ret_t fscript_parse_all(fscript_parser_t* parser, fscript_func_call_t* acall) {

0 commit comments

Comments
 (0)