Fixed tools/compare_ast.py

This commit is contained in:
Daniel Marjamäki 2020-10-30 10:14:18 +01:00
parent 6d0b78433b
commit b96f23a388
1 changed files with 2 additions and 2 deletions

View File

@ -44,11 +44,11 @@ def compare_ast(cppcheck_parameters: str):
print('saving cppcheck ast in file ast1 and clang ast in file ast2')
f = open('ast1', 'wt')
f.write(ast1);
f.write(ast1)
f.close()
f = open('ast2', 'wt')
f.write(ast2);
f.write(ast2)
f.close()
sys.exit(1)