mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
k&r braces?
This commit is contained in:
parent
ef1bad4315
commit
46a701df23
1 changed files with 3 additions and 1 deletions
|
@ -3716,7 +3716,9 @@ void compileOrThrow(BytecodeBuilder& bytecode, AstStatBlock* root, const AstName
|
||||||
if (AstName name = names.get(*ptr); name.value)
|
if (AstName name = names.get(*ptr); name.value)
|
||||||
compiler.globals[name].writable = true;
|
compiler.globals[name].writable = true;
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
for (const char* global : kSpecialGlobals)
|
for (const char* global : kSpecialGlobals)
|
||||||
{
|
{
|
||||||
if (AstName name = names.get(global); name.value)
|
if (AstName name = names.get(global); name.value)
|
||||||
|
|
Loading…
Add table
Reference in a new issue