From 54e6260b2ac36c4653a30ed5ab5e17d3e7f0abd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 15 Apr 2022 18:35:56 +0800 Subject: improve performance --- script/parser/guide.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'script/parser') diff --git a/script/parser/guide.lua b/script/parser/guide.lua index c0f33c28..884a5271 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -966,8 +966,6 @@ function m.getKeyName(obj) return obj[1] elseif tp == 'doc.type.field' then return obj.name[1] - elseif tp == 'dummy' then - return obj[1] end return m.getKeyNameOfLiteral(obj) end -- cgit v1.2.3