summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-24 00:05:42 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-24 00:05:42 +0800
commit999c5dd79a772d039b384ab856023942935592fb (patch)
treea2443b479f8663d474eae469ec6eacf796f46011 /script/parser
parent3cadbfc7419542a8b56f0996bfbfbda146a30ea5 (diff)
downloadlua-language-server-999c5dd79a772d039b384ab856023942935592fb.zip
infer by `assert(x)`
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/newparser.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua
index 864ffcff..4bddd7e5 100644
--- a/script/parser/newparser.lua
+++ b/script/parser/newparser.lua
@@ -117,6 +117,7 @@ local Specials = {
['xpcall'] = true,
['pairs'] = true,
['ipairs'] = true,
+ ['assert'] = true,
}
local UnarySymbol = {