From fec49aaaa3163065bff48ae0f5234149438a17f6 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sat, 22 Dec 2018 17:06:36 +0900 Subject: [PATCH] fix error message: add missing spaces --- toml/parser.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/toml/parser.hpp b/toml/parser.hpp index 882a49c..b496831 100644 --- a/toml/parser.hpp +++ b/toml/parser.hpp @@ -1035,9 +1035,9 @@ insert_nested_key(table& root, const toml::value& v, "[error] toml::insert_value: array of table (\"", format_dotted_keys(first, last), "\") collides with" " existing value"), get_region(tab->at(k)), - concat_to_string("this ", tab->at(k).type(), "value" - "already exists"), get_region(v), "while inserting" - "this array-of-tables")); + concat_to_string("this ", tab->at(k).type(), + " value already exists"), get_region(v), + "while inserting this array-of-tables")); } array& a = tab->at(k).template cast(); if(!(a.front().is(value_t::Table))) @@ -1046,9 +1046,9 @@ insert_nested_key(table& root, const toml::value& v, "[error] toml::insert_value: array of table (\"", format_dotted_keys(first, last), "\") collides with" " existing value"), get_region(tab->at(k)), - concat_to_string("this ", tab->at(k).type(), "value" - "already exists"), get_region(v), "while inserting" - "this array-of-tables")); + concat_to_string("this ", tab->at(k).type(), + " value already exists"), get_region(v), + "while inserting this array-of-tables")); } a.push_back(v); return ok(true);