diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-27 14:57:09 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-27 14:57:09 +0800 |
commit | 6e45ee26d151b10a6896ff5a151175075cb57550 (patch) | |
tree | 0303f4d9c0ac56c36176c59e057a521fd521c9ca /server/src/parser | |
parent | ff8e98d0e4824a96b93ccde1a40779a83e4405ae (diff) | |
download | lua-language-server-6e45ee26d151b10a6896ff5a151175075cb57550.zip |
整理代码
Diffstat (limited to 'server/src/parser')
-rw-r--r-- | server/src/parser/ast.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/parser/ast.lua b/server/src/parser/ast.lua index 0cef46a1..b02daefa 100644 --- a/server/src/parser/ast.lua +++ b/server/src/parser/ast.lua @@ -419,7 +419,7 @@ return function (self, lua, mode) return nil, res end if not res then - return nil, err + return nil, {err} end return res end |