summaryrefslogtreecommitdiff
path: root/script-beta/parser/guide.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/parser/guide.lua')
-rw-r--r--script-beta/parser/guide.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua
index c056bbe2..9ede7e0a 100644
--- a/script-beta/parser/guide.lua
+++ b/script-beta/parser/guide.lua
@@ -892,7 +892,9 @@ local function convertSimpleList(list)
local simple = {}
for i = #list, 1, -1 do
local c = list[i]
- if c.special == '_G' then
+ if c.special == '_G'
+ and c.type ~= 'getglobal'
+ and c.type ~= 'setglobal' then
simple.global = list[i+1] or c
else
simple[#simple+1] = m.getSimpleName(c)