diff options
Diffstat (limited to 'server-beta/src/parser/ast.lua')
-rw-r--r-- | server-beta/src/parser/ast.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/server-beta/src/parser/ast.lua b/server-beta/src/parser/ast.lua index ff5a6ae1..c5303796 100644 --- a/server-beta/src/parser/ast.lua +++ b/server-beta/src/parser/ast.lua @@ -661,6 +661,16 @@ local Defs = { end return e end, + SubBinary = function (op, symb) + if symb then + return op, symb + end + PushError { + type = 'MISS_EXP', + start = op.start, + finish = op.finish, + } + end, Binary = function (first, op, second, ...) if not first then return second |