replace '<string>' source name with '[string]'

This commit is contained in:
MihailRis
2024-11-19 09:53:15 +03:00
parent 134deb0ae6
commit c543575150
8 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ static int l_json_stringify(lua::State* L) {
static int l_json_parse(lua::State* L) {
auto string = lua::require_string(L, 1);
auto element = json::parse("<string>", string);
auto element = json::parse("[string]", string);
return lua::pushvalue(L, element);
}