Skip to content

Commit

Permalink
Set entry file prefix: '=' -> '@'
Browse files Browse the repository at this point in the history
  • Loading branch information
vrn-sn committed Nov 16, 2024
1 parent e905e30 commit c75daaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CLI/Repl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ static bool runFile(const char* name, lua_State* GL, bool repl)
// new thread needs to have the globals sandboxed
luaL_sandboxthread(L);

std::string chunkname = "=" + std::string(name);
std::string chunkname = "@" + std::string(name);

std::string bytecode = Luau::compile(*source, copts());
int status = 0;
Expand Down

0 comments on commit c75daaa

Please sign in to comment.