From b96f23a388014dafef4734c64c7ff3fcc2c1d8e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 30 Oct 2020 10:14:18 +0100 Subject: [PATCH] Fixed tools/compare_ast.py --- tools/compare_ast.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/compare_ast.py b/tools/compare_ast.py index 5df8f911e..ebe9adca0 100644 --- a/tools/compare_ast.py +++ b/tools/compare_ast.py @@ -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)