summaryrefslogtreecommitdiff
path: root/server-beta/src/parser/ast.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/parser/ast.lua')
-rw-r--r--server-beta/src/parser/ast.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/server-beta/src/parser/ast.lua b/server-beta/src/parser/ast.lua
index b87be927..c5303796 100644
--- a/server-beta/src/parser/ast.lua
+++ b/server-beta/src/parser/ast.lua
@@ -1732,15 +1732,15 @@ local Defs = {
local function init(state)
State = state
- PushError = state.pushError or function () end
- PushDiag = state.pushDiag or function () end
+ PushError = state.pushError
+ PushDiag = state.pushDiag
emmy.init(State)
end
local function close()
State = nil
- PushError = function () end
- PushDiag = function () end
+ PushError = nil
+ PushDiag = nil
end
return {