mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-23 09:04:21 +00:00
lint: Fix issue with common_string_finder (#265)
This commit is contained in:
parent
bc0ca21d50
commit
2d02e07fba
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue