diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-20 11:07:16 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-20 11:07:16 +0800 |
commit | d68b1cd50ec52658d59a0fc1a8626c442a75522e (patch) | |
tree | 051df34c1b7031543ed84a239fb2da8252db2b6f /server | |
parent | 6a994c5a5c36e6502f5f003084256851ab67e845 (diff) | |
parent | 05586ecd48300bbc4b8fb7f5a8e85a628eefda8e (diff) | |
download | lua-language-server-d68b1cd50ec52658d59a0fc1a8626c442a75522e.zip |
Merge branch 'master' into EmmyLua
Diffstat (limited to 'server')
-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 136d7565..55364ca9 100644 --- a/server/src/parser/ast.lua +++ b/server/src/parser/ast.lua @@ -1517,7 +1517,7 @@ return function (self, lua, mode, version) Label = {{}}, Version = version, } - local suc, res, err = pcall(self.grammar, lua, mode, Defs) + local suc, res, err = xpcall(self.grammar, debug.traceback, lua, mode, Defs) if not suc then return nil, res end |