From fb5ce900c0f09f5de2e3d8251da6bde09d4a1c71 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, 5 Nov 2019 21:55:17 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AF=8A=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-beta/src/parser/guide.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server-beta/src/parser/guide.lua') diff --git a/server-beta/src/parser/guide.lua b/server-beta/src/parser/guide.lua index 952fa3c6..f4fd387c 100644 --- a/server-beta/src/parser/guide.lua +++ b/server-beta/src/parser/guide.lua @@ -320,6 +320,9 @@ function m.eachSourceType(ast, type, callback) end mark[source] = true local tp = source.type + if not tp then + return + end local myCache = cache[tp] if not myCache then myCache = {} -- cgit v1.2.3