diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/parser/newparser.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua index 9034480e..9e8e5b94 100644 --- a/script/parser/newparser.lua +++ b/script/parser/newparser.lua @@ -1405,7 +1405,10 @@ local function parseExpList(mini) end local nextToken = peekWord() if isKeyWord(nextToken) - and nextToken ~= 'function' then + and nextToken ~= 'function' + and nextToken ~= 'true' + and nextToken ~= 'false' + and nextToken ~= 'nil' then break end end |