Core lib building
This commit is contained in:
parent
3ed195d7dd
commit
94fcc42aed
73 changed files with 625 additions and 661 deletions
|
@ -1,6 +1,6 @@
|
|||
#include "TomlReader.h"
|
||||
|
||||
#include "CharUtils.h"
|
||||
#include "Char.h"
|
||||
|
||||
TomlTable::TomlTable(const String& header)
|
||||
: mHeader(header)
|
||||
|
@ -128,8 +128,8 @@ void TomlReader::processLine(const String& line)
|
|||
}
|
||||
else if (found_key)
|
||||
{
|
||||
key_string.eraseIf([](char c) {return CharUtils::is_space(c); });
|
||||
working_string.eraseIf([](char c) {return CharUtils::is_space(c); });
|
||||
key_string.eraseIf([](char c) {return Char::is_space(c); });
|
||||
working_string.eraseIf([](char c) {return Char::is_space(c); });
|
||||
if (working_string.size()>2 && working_string[0] == '"' && working_string[working_string.size() - 1] == '"')
|
||||
{
|
||||
working_string.slice(1, working_string.size() - 2, working_string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue