Add apply to script validation

This commit is contained in:
Glowbal 2016-05-21 13:46:26 +02:00
parent 7f8bfa091a
commit 391191241b

View File

@ -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"];
keyWords = ["for", "do", "count", "each", "forEach", "else", "and", "not", "isEqualTo", "in", "call", "spawn", "execVM", "catch", "param", "select", "apply"];
for word in keyWords:
try:
subWord = content.index(word, index, index+len(word))