diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-17 22:22:52 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-17 22:22:52 +0800 |
commit | 54907f010415d179a435c37cd2f354315a424f08 (patch) | |
tree | 831493b251a777cb0958a4a8d8b6856bcaaf77f4 /server-beta/src/parser/ast.lua | |
parent | a139003e6f239650baaef69f747c7ee9558d0170 (diff) | |
download | lua-language-server-54907f010415d179a435c37cd2f354315a424f08.zip |
跟细致的 rename
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 { |