mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #6583 from acemod/sqf_validator-findIf
sqf_validator compatibility with findIf command
This commit is contained in:
commit
8587da58cb
@ -8,7 +8,7 @@ import sys
|
|||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
def validKeyWordAfterCode(content, index):
|
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:
|
for word in keyWords:
|
||||||
try:
|
try:
|
||||||
subWord = content.index(word, index, index+len(word))
|
subWord = content.index(word, index, index+len(word))
|
||||||
|
Loading…
Reference in New Issue
Block a user