Commit ba0aeb8c by sikang

bug fix

parent f0115386
......@@ -164,8 +164,8 @@ class JavaGarble:
if "return" in line:
curly_braces = -10000
continue
if ";\n" in line and len(line) > 10:
line += "\n%s" % self.__insert_code()
if ";\n" in line and len(line.replace(" ","")) > 10:
line += self.__insert_code()
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