diff --git a/tools/sqf_validator.py b/tools/sqf_validator.py index c45f0f94f2..b37b3f2f6d 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 == '#'): - ignoreTillEndOfLine = True + checkForSemiColumn = False elif (c == '/'): checkIfInComment = True elif (c == '('):