diff --git a/build-tools/capi_parser/src/coreImpl/parser/parse_include.py b/build-tools/capi_parser/src/coreImpl/parser/parse_include.py index 5a22879a0c117fc8ac0efe2cc918b6dcd3fbeabd..cf92d76c3b1e6ce17014b304c14bf5ffa6f74d56 100644 --- a/build-tools/capi_parser/src/coreImpl/parser/parse_include.py +++ b/build-tools/capi_parser/src/coreImpl/parser/parse_include.py @@ -355,7 +355,8 @@ def get_start_comments(include_path): # 获取每个头文件的最开始注释 if matches_high: file_comment.extend(matches_high) f.close() - return file_comment + str_file_comment = '\n'.join(file_comment) + return str_file_comment def open_file(include_path):