This commit is contained in:
LoganDark 2021-11-08 13:22:14 -08:00
parent 4d630bed58
commit dd2b9eeef3
No known key found for this signature in database
GPG key ID: B8C37CEDE1AC60EA

View file

@ -3710,7 +3710,7 @@ void compileOrThrow(BytecodeBuilder& bytecode, AstStatBlock* root, const AstName
}
if (options.mutableGlobalNames)
for (const char** ptr = options.mutableGlobalNames; ptr; ptr += sizeof(const char*))
for (const char** ptr = options.mutableGlobalNames; *ptr != NULL; ptr += sizeof(const char*))
{
AstName name = names.get(*ptr);