summaryrefslogtreecommitdiff
path: root/server/src/parser/ast.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/parser/ast.lua')
-rw-r--r--server/src/parser/ast.lua6
1 files changed, 3 insertions, 3 deletions
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',