diff options
Diffstat (limited to 'server/src/parser/ast.lua')
-rw-r--r-- | server/src/parser/ast.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/parser/ast.lua b/server/src/parser/ast.lua index 8ac4e0f4..92d14eb6 100644 --- a/server/src/parser/ast.lua +++ b/server/src/parser/ast.lua @@ -1394,13 +1394,14 @@ local Defs = { emmy.finish = emmy[#emmy].finish return emmy end, - EmmyReturn = function (start, type, finish, option) + EmmyReturn = function (start, type, name, finish, option) local emmy = { type = 'emmyReturn', option = option, start = start, finish = finish - 1, [1] = type, + [2] = name, } return emmy end, |