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
@@ -265,5 +265,5 @@ dv::value json::parse(
}
dv::value json::parse(std::string_view source) {
return parse("<string>", source);
return parse("[string]", source);
}
+1 -1
View File
@@ -250,7 +250,7 @@ std::string Parser::parseText() {
}
nextChar();
}
return Parser("<string>", std::string(source.substr(start, pos - start)))
return Parser("[string]", std::string(source.substr(start, pos - start)))
.parseString('\0', false);
}