diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-15 20:24:38 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-15 20:24:38 +0800 |
commit | e70f82c0534c8973b3ad809a5ad72919412a832b (patch) | |
tree | d82e9086c6bfa49bbda40226440b6538708192b6 /script/parser | |
parent | 281031ba5c41ebe34bd6c8634f1436fe1341fcaa (diff) | |
download | lua-language-server-e70f82c0534c8973b3ad809a5ad72919412a832b.zip |
update
Diffstat (limited to 'script/parser')
-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 |