mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Remove extra indentation level
This commit is contained in:
parent
609f68492a
commit
1c3095f6dd
1 changed files with 17 additions and 20 deletions
|
@ -79,10 +79,8 @@ static std::string runCode(lua_State* L, const std::string& source)
|
||||||
return std::string();
|
return std::string();
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C"
|
extern "C" const char* executeScript(const char* source)
|
||||||
{
|
{
|
||||||
const char* executeScript(const char* source)
|
|
||||||
{
|
|
||||||
// setup flags
|
// setup flags
|
||||||
for (Luau::FValue<bool>* flag = Luau::FValue<bool>::list; flag; flag = flag->next)
|
for (Luau::FValue<bool>* flag = Luau::FValue<bool>::list; flag; flag = flag->next)
|
||||||
if (strncmp(flag->name, "Luau", 4) == 0)
|
if (strncmp(flag->name, "Luau", 4) == 0)
|
||||||
|
@ -105,5 +103,4 @@ extern "C"
|
||||||
result = runCode(L, source);
|
result = runCode(L, source);
|
||||||
|
|
||||||
return result.empty() ? NULL : result.c_str();
|
return result.empty() ? NULL : result.c_str();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue