diff options
Diffstat (limited to 'server-beta/src/parser/guide.lua')
-rw-r--r-- | server-beta/src/parser/guide.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/server-beta/src/parser/guide.lua b/server-beta/src/parser/guide.lua index a89af6b4..428f3b8d 100644 --- a/server-beta/src/parser/guide.lua +++ b/server-beta/src/parser/guide.lua @@ -365,13 +365,17 @@ function m.getKeyName(obj) or tp == 'setglobal' then return 's|' .. obj[1] elseif tp == 'getfield' - or tp == 'setfield' then + or tp == 'setfield' + or tp == 'tablefield' then return 's|' .. obj.field[1] elseif tp == 'getindex' - or tp == 'setindex' then + or tp == 'setindex' + or tp == 'tableindex' then return m.getKeyName(obj.index) elseif tp == 'field' then return 's|' .. obj[1] + elseif tp == 'index' then + return m.getKeyName(obj.index) elseif tp == 'string' then local s = obj[1] if s then |