diff options
Diffstat (limited to 'server-beta/src/parser/ast.lua')
-rw-r--r-- | server-beta/src/parser/ast.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server-beta/src/parser/ast.lua b/server-beta/src/parser/ast.lua index c5303796..b87be927 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 - PushDiag = state.pushDiag + PushError = state.pushError or function () end + PushDiag = state.pushDiag or function () end emmy.init(State) end local function close() State = nil - PushError = nil - PushDiag = nil + PushError = function () end + PushDiag = function () end end return { |