Fixed: Made the compiler manual test cases work again

This commit is contained in:
Martin Carlberg
2015-03-03 11:33:20 +01:00
parent a924fd0e7e
commit b47ad50d42
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ Error on line 10001 of file [unknown]
SyntaxError:
@implementation MyType : CPObject
^
ERROR line 5 in file:[__PATH__]: MyType is already declared as type
ERROR line 5 in file:[__PATH__]: MyType is already declared as a type
END_EXPECTED
*/
+1
View File
@@ -55,6 +55,7 @@ def cleanup_output(output):
output = output.replace(" ", "")
output = output.replace("\n", "")
output = output.replace("[0m", "")
output = re.sub('\d*offile\[unknown\]', '', output)
return re.sub('[^\s!-~]', '', output)