improve api_doc_lint

This commit is contained in:
lixianjing 2023-10-09 17:29:32 +08:00
parent 894212dbe7
commit 61c2cd295a
3 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,7 @@
* 修复编译脚本python2不兼容的问题(感谢智明提供补丁)
* 修复xml\_to\_ui\_gen、str\_gen、theme\_gen工具中的内存泄漏(感谢高源提供补丁)
* 修复value\_test中的警告信息(感谢高源提供补丁)
* 完善api\_doc\_lint(感谢俊圣提供补丁)
2023/10/08
* 修复edit控件上一次error状态没有清除的问题(感谢陈聪提供补丁)

View File

@ -950,6 +950,7 @@ static bool_t is_valid_anno(const char* anno) {
0 == strcmp(anno, "\"persitent\"") ||
0 == strcmp(anno, "\"private\"") ||
0 == strcmp(anno, "\"string\"") ||
0 == strcmp(anno, "\"persistent\"") ||
0 == strcmp(anno, "\"global\"");
}

View File

@ -44,7 +44,8 @@ extern void freeSourceFileResources (void)
vStringDelete (File.source.name);
vStringDelete (File.line);
//free tagPath of the last parser file
eFree(File.source.tagPath);
if (File.source.tagPath)
eFree(File.source.tagPath);
}
/*