summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script-beta/parser/guide.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua
index f5a0c2c7..31836c6b 100644
--- a/script-beta/parser/guide.lua
+++ b/script-beta/parser/guide.lua
@@ -1230,6 +1230,9 @@ function m.checkSameSimpleInCall(status, ref, start, queue)
end
function m.checkSameSimpleInGlobal(status, name, start, queue)
+ if not name then
+ return
+ end
if not status.interface.global then
return
end