Tools - Fix string check false positive on tagging macro (#8917)

This commit is contained in:
PabstMirror 2022-05-18 14:36:05 -05:00 committed by GitHub
parent 86f08af250
commit 89b8ed4b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,8 @@ def main(argv):
allDefinedStrings = list(sorted(set(allDefinedStrings))) allDefinedStrings = list(sorted(set(allDefinedStrings)))
allUsedStrings = list(sorted(set(allUsedStrings))) allUsedStrings = list(sorted(set(allUsedStrings)))
if ("str_ace_tagging_name" in allUsedStrings): allUsedStrings.remove("str_ace_tagging_name") # Handle tagging macro
print("-----------") print("-----------")
countUnusedStrings = 0 countUnusedStrings = 0
countUndefinedStrings = 0 countUndefinedStrings = 0