From bbe1c2f5fde8c3d8d85725f2a3467b17f22bd58f Mon Sep 17 00:00:00 2001 From: zhangwuf Date: Wed, 29 Nov 2023 11:12:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E6=96=87=E4=BB=B6=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangwuf --- build-tools/capi_parser/src/coreImpl/parser/parse_include.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 5a22879a0..cf92d76c3 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): -- Gitee