mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-07 03:07:12 +00:00
Fixed: Made the compiler manual test cases work again
This commit is contained in:
@@ -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
|
||||
|
||||
*/
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user