From 7ee08fa4c9ca4a6bd9edc001a6782ff434668137 Mon Sep 17 00:00:00 2001 From: jonpas Date: Sun, 18 Nov 2018 16:46:10 +0100 Subject: [PATCH] Support # command in SQF Validator (quick, will miss missing semi-colons on actual # command) (#6338) --- tools/sqf_validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 == '('):