From aae2c7888bad227b6df897b97c01f123744175de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 30 Jul 2024 17:46:00 +0800 Subject: =?UTF-8?q?=E8=BF=87=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/vm/def.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/vm') diff --git a/script/vm/def.lua b/script/vm/def.lua index 669d39c2..ffd2de7a 100644 --- a/script/vm/def.lua +++ b/script/vm/def.lua @@ -93,7 +93,7 @@ function vm.getDefs(source) return results end -local HAS_DEF_ERR = {} -- the error object for comparing +local HAS_DEF_ERR = {''} -- the error object for comparing local function checkHasDef(checkFunc, source, pushResult) local _, err = pcall(checkFunc, source, pushResult) return err == HAS_DEF_ERR -- cgit v1.2.3