diff --git a/tools/check-format.py b/tools/check-format.py index e7a7c0cf4..ec20ede41 100755 --- a/tools/check-format.py +++ b/tools/check-format.py @@ -266,10 +266,12 @@ def common_string_finder(c, path): continue if "extern \"C\"" in line: continue + if "__asm__" in line: + continue if "//" in line: continue - matches = re.findall(r'"(.+?)"', line) + matches = re.findall(r'"(.*?)"', line) for match in matches: if len(match) < 2: