Commit 7428ceef by sikang

update

parent 554a327a
...@@ -66,7 +66,7 @@ def process_file_content(path, file_name): ...@@ -66,7 +66,7 @@ def process_file_content(path, file_name):
for line in lines: for line in lines:
if "interface" in line or "abstract" in line: if "interface" in line or "abstract" in line:
isAbstract=True isAbstract=True
if isAbstract: if isAbstract or "//" in line:
f_w.write(line) f_w.write(line)
continue continue
...@@ -97,8 +97,6 @@ def process_file_content(path, file_name): ...@@ -97,8 +97,6 @@ def process_file_content(path, file_name):
func_level +=1 func_level +=1
if "//interference code" not in line and "}\n" in line: if "//interference code" not in line and "}\n" in line:
func_level -=1 func_level -=1
if return_level < 0:
return_level = 0
#需要忽略的行 #需要忽略的行
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment