From 7c5883fc60476e995019b5e87162d1b08eae64b7 Mon Sep 17 00:00:00 2001 From: LoganDark Date: Mon, 8 Nov 2021 13:05:28 -0800 Subject: [PATCH] remove Roblox-specific globals from kSpecialGlobals --- Compiler/src/Compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compiler/src/Compiler.cpp b/Compiler/src/Compiler.cpp index 45d10cc3..75632c30 100644 --- a/Compiler/src/Compiler.cpp +++ b/Compiler/src/Compiler.cpp @@ -22,7 +22,7 @@ static const uint32_t kMaxRegisterCount = 255; static const uint32_t kMaxUpvalueCount = 200; static const uint32_t kMaxLocalCount = 200; -static const char* kSpecialGlobals[] = {"Game", "Workspace", "_G", "game", "plugin", "script", "shared", "workspace"}; +static const char* kSpecialGlobals[] = {"_G"}; CompileError::CompileError(const Location& location, const std::string& message) : location(location)