diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-01 16:01:19 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-01 16:01:19 +0800 |
commit | 25eaef7cec5b0a84b42b03ced1f76ab9ac0cd31b (patch) | |
tree | 1edd9367fcd0f639d91cbf99b4d952f415879faf /script | |
parent | 72f18d0fb52ff5878549bf8e1d2be9c4ebf93340 (diff) | |
download | lua-language-server-25eaef7cec5b0a84b42b03ced1f76ab9ac0cd31b.zip |
function is literal
Diffstat (limited to 'script')
-rw-r--r-- | script/parser/guide.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index b521b8c2..0ceb4d3f 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -139,6 +139,7 @@ function m.isLiteral(obj) or tp == 'string' or tp == 'number' or tp == 'table' + or tp == 'function' end --- 获取字面量 |