diff --git a/tools/sqf_validator.py b/tools/sqf_validator.py index b37b3f2f6d..c45f0f94f2 100644 --- a/tools/sqf_validator.py +++ b/tools/sqf_validator.py @@ -85,7 +85,7 @@ def check_sqf_syntax(filepath): isInString = True inStringType = c elif (c == '#'): - checkForSemiColumn = False + ignoreTillEndOfLine = True elif (c == '/'): checkIfInComment = True elif (c == '('):