mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
feat: toml lvalues support
This commit is contained in:
parent
66825d62aa
commit
d14548cff8
7 changed files with 83 additions and 58 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue