From 2aebb7c0298506a538814008d09a4545d97e1098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 24 Jan 2019 21:32:25 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AF=AD=E6=B3=95=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/parser/ast.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'server') diff --git a/server/src/parser/ast.lua b/server/src/parser/ast.lua index db0dabd1..48d9eb3b 100644 --- a/server/src/parser/ast.lua +++ b/server/src/parser/ast.lua @@ -751,15 +751,15 @@ local Defs = { local labels = State.Label[#State.Label] local str = name[1] if labels[str] then - pushError { - type = 'REDEFINE_LABEL', - start = name.start, - finish = name.finish, - info = { - label = str, - related = {labels[str].start, labels[str].finish}, - } - } + --pushError { + -- type = 'REDEFINE_LABEL', + -- start = name.start, + -- finish = name.finish, + -- info = { + -- label = str, + -- related = {labels[str].start, labels[str].finish}, + -- } + --} else labels[str] = name end -- cgit v1.2.3