summaryrefslogtreecommitdiff
path: root/server/src/parser
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/parser')
-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