From a485d6698b906ab51fc5a498e0f88e2b474a7409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 7 Jan 2019 15:31:08 +0800 Subject: =?UTF-8?q?=E5=85=A8=E5=B1=80=E5=8F=98=E9=87=8F=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E5=AD=97=E6=AF=8D=E5=A4=A7=E5=86=99=E5=B0=B1=E5=BF=BD?= =?UTF-8?q?=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/core/diagnostics.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/core') diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua index 6a87a25b..662711fb 100644 --- a/server/src/core/diagnostics.lua +++ b/server/src/core/diagnostics.lua @@ -48,7 +48,7 @@ local function searchUndefinedGlobal(results, callback) if lIndex == 'log' or lIndex == 'arg' or lIndex == '' then goto NEXT_VAR end - if not index:find '%l' then + if index:find '^_*%u' then goto NEXT_VAR end for _, info in ipairs(field) do -- cgit v1.2.3