From f1f288a72fa02b2bd73e2e7230412067ce102f43 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, 20 Dec 2018 21:20:10 +0800 Subject: =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=9B=B4=E5=A4=9A=E8=84=8F=E8=AF=AD?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/parser/ast.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/src/parser/ast.lua') diff --git a/server/src/parser/ast.lua b/server/src/parser/ast.lua index daf2d6ba..45a0cbee 100644 --- a/server/src/parser/ast.lua +++ b/server/src/parser/ast.lua @@ -247,6 +247,9 @@ local defs = { return first end end, + Nothing = function () + return nil + end, Set = function (keys, values) return { type = 'set', @@ -349,9 +352,6 @@ local defs = { obj[max] = nil return obj end, - LoopDef = function (arg, min, max, step) - return arg, min, max, step - end, Loop = function (start, arg, min, max, step, ...) local obj = { type = 'loop', -- cgit v1.2.3