Commit a8aeb6ed by sikang

bug fix

parent 7c3851af
...@@ -165,8 +165,7 @@ class JavaGarble: ...@@ -165,8 +165,7 @@ class JavaGarble:
if curly_braces >= 1: if curly_braces >= 1:
if "return" in line: if "return" in line:
curly_braces = -10000 curly_braces = -10000
continue elif ";\n" in line and len(line.replace(" ","")) > 10:
if ";\n" in line and len(line.replace(" ","")) > 10:
line += self.__insert_code() line += self.__insert_code()
fout.write(line) fout.write(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