mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add error on tab in sqf files to sqf validator
This commit is contained in:
parent
c1fa81f28b
commit
e828076377
@ -109,7 +109,10 @@ def check_sqf_syntax(filepath):
|
||||
print("ERROR: Possible missing curly brace '}}' detected at {0} Line number: {1}".format(filepath,lineNumber))
|
||||
bad_count_file += 1
|
||||
brackets_list.append('}')
|
||||
|
||||
elif (c== '\t'):
|
||||
print("ERROR: Tab detected at {0} Line number: {1}".format(filepath,lineNumber))
|
||||
bad_count_file += 1
|
||||
|
||||
if (checkForSemiColumn):
|
||||
if (c not in [' ', '\t', '\n', '/']): # keep reading until no white space or comments
|
||||
checkForSemiColumn = False
|
||||
|
Loading…
Reference in New Issue
Block a user