Commit 7be46418 by sikang

update

parent 515e0fa0
...@@ -62,9 +62,13 @@ def process_file_content(path, file_name): ...@@ -62,9 +62,13 @@ def process_file_content(path, file_name):
isErrorIf = False isErrorIf = False
return_level = 0 return_level = 0
func_level = 0 func_level = 0
isAbstract = False
for line in lines: for line in lines:
if "interface" in line or "abstract" in line: if "interface" in line or "abstract" in line:
break; isAbstract=True
if isAbstract:
f_w.write(line)
continue
#没加{}的if else #没加{}的if else
if ("if(" in line or "if (" in line) and "{" not in line: if ("if(" in line or "if (" in line) and "{" not in line:
......
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