summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-20 11:07:16 +0800
committersumneko <sumneko@hotmail.com>2019-04-20 11:07:16 +0800
commitd68b1cd50ec52658d59a0fc1a8626c442a75522e (patch)
tree051df34c1b7031543ed84a239fb2da8252db2b6f /server
parent6a994c5a5c36e6502f5f003084256851ab67e845 (diff)
parent05586ecd48300bbc4b8fb7f5a8e85a628eefda8e (diff)
downloadlua-language-server-d68b1cd50ec52658d59a0fc1a8626c442a75522e.zip
Merge branch 'master' into EmmyLua
Diffstat (limited to 'server')
-rw-r--r--server/src/parser/ast.lua2
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