mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-19 03:18:09 +08:00
Merge branch 'master' into add-src-loc-to-exception
This commit is contained in:
@@ -1867,7 +1867,7 @@ result<Value, std::string> parse_toml_file(location<Container>& loc)
|
|||||||
const auto first = loc.iter();
|
const auto first = loc.iter();
|
||||||
if(first == loc.end())
|
if(first == loc.end())
|
||||||
{
|
{
|
||||||
return ok(value_type(table_type{}/* empty file has no region ...*/));
|
return ok(value_type(table_type{} /*, empty file has no region ...*/));
|
||||||
}
|
}
|
||||||
|
|
||||||
// put the first line as a region of a file
|
// put the first line as a region of a file
|
||||||
|
Reference in New Issue
Block a user