Commit 92af5522 by sikang

update

parent 518ad371
......@@ -84,6 +84,7 @@ def process_file_content(path, file_name):
("){\n" in line or ") {\n" in line) and \
func_level == 0 and \
not isReturn:
func_level = 1
if func_level > 0:
if "//interference code" not in line and "{\n" in line:
......@@ -106,7 +107,7 @@ def process_file_content(path, file_name):
"//" not in line:
if random.randint(0, 20) % 2 == 0:
line = line.replace(";\n", func_level(return_level>0))
line = line.replace(";\n", func_level(func_level>0))
if ";" in line :
isErrorIf = False
......
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