mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Remove interpolated string FFlag check
This commit is contained in:
parent
e7176f8ebf
commit
7229853372
1 changed files with 0 additions and 7 deletions
|
@ -8,7 +8,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
LUAU_FASTFLAG(LuauInterpolatedStringBaseSupport)
|
|
||||||
LUAU_FASTFLAGVARIABLE(LuauTostringFormatSpecifier, false);
|
LUAU_FASTFLAGVARIABLE(LuauTostringFormatSpecifier, false);
|
||||||
|
|
||||||
/* macro to `unsign' a character */
|
/* macro to `unsign' a character */
|
||||||
|
@ -1039,12 +1038,6 @@ static int str_format(lua_State* L)
|
||||||
{
|
{
|
||||||
if (!FFlag::LuauTostringFormatSpecifier)
|
if (!FFlag::LuauTostringFormatSpecifier)
|
||||||
{
|
{
|
||||||
if (FFlag::LuauInterpolatedStringBaseSupport)
|
|
||||||
{
|
|
||||||
luaL_error(L, "interpolated strings are enabled, but the '*' format specifier is not. this is a configuration bug.");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
luaL_error(L, "invalid option '%%*' to 'format'");
|
luaL_error(L, "invalid option '%%*' to 'format'");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue