summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/compile.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/script/parser/compile.lua b/script/parser/compile.lua
index e09c958f..6542efbd 100644
--- a/script/parser/compile.lua
+++ b/script/parser/compile.lua
@@ -2313,7 +2313,12 @@ local function parseFunction(isLocal, isAction)
local params
if func.name and func.name.type == 'getmethod' then
if func.name.type == 'getmethod' then
- params = {}
+ params = {
+ type = 'funcargs',
+ start = funcRight,
+ finish = funcRight,
+ parent = func
+ }
params[1] = createLocal {
start = funcRight,
finish = funcRight,