Skip to content

Commit

Permalink
Add apply to script validation
Browse files Browse the repository at this point in the history
  • Loading branch information
thojkooi committed May 21, 2016
1 parent 7f8bfa0 commit 3911912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sqf_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
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))
Expand Down

0 comments on commit 3911912

Please sign in to comment.