fix error message for empty value

This commit is contained in:
ToruNiina
2018-12-22 17:44:09 +09:00
parent edb48b2872
commit 9c95992dad

View File

@@ -971,7 +971,8 @@ parse_key_value_pair(location<Container>& loc)
}
else
{
msg = val.unwrap_err();
msg = format_underline("[error] toml::parse_key_value_pair: "
"invalid value format", loc, val.unwrap_err());
}
loc.iter() = first;
return err(msg);