mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
sqf_validator compatibility with findIf command
This commit is contained in:
parent
550acf6a2b
commit
7673ffab0a
@ -8,7 +8,7 @@ import sys
|
||||
import argparse
|
||||
|
||||
def validKeyWordAfterCode(content, index):
|
||||
keyWords = ["for", "do", "count", "each", "forEach", "else", "and", "not", "isEqualTo", "in", "call", "spawn", "execVM", "catch", "param", "select", "apply"];
|
||||
keyWords = ["for", "do", "count", "each", "forEach", "else", "and", "not", "isEqualTo", "in", "call", "spawn", "execVM", "catch", "param", "select", "apply", "findIf"];
|
||||
for word in keyWords:
|
||||
try:
|
||||
subWord = content.index(word, index, index+len(word))
|
||||
|
Loading…
Reference in New Issue
Block a user