Fixed tools/compare_ast.py
This commit is contained in:
parent
6d0b78433b
commit
b96f23a388
|
@ -44,11 +44,11 @@ def compare_ast(cppcheck_parameters: str):
|
||||||
print('saving cppcheck ast in file ast1 and clang ast in file ast2')
|
print('saving cppcheck ast in file ast1 and clang ast in file ast2')
|
||||||
|
|
||||||
f = open('ast1', 'wt')
|
f = open('ast1', 'wt')
|
||||||
f.write(ast1);
|
f.write(ast1)
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
f = open('ast2', 'wt')
|
f = open('ast2', 'wt')
|
||||||
f.write(ast2);
|
f.write(ast2)
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in New Issue