feat: toml lvalues support

This commit is contained in:
MihailRis
2024-10-12 00:23:52 +03:00
parent 66825d62aa
commit d14548cff8
7 changed files with 83 additions and 58 deletions
+2 -1
View File
@@ -178,7 +178,8 @@ dv::value Parser::parseObject() {
skipLine();
continue;
}
std::string key = parseName();
expect('"');
std::string key = parseString('"');
char next = peek();
if (next != ':') {
throw error("':' expected");