mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-01-10 09:20:11 +00:00
d11e42ca7e
The top-level table has its region at the first character of the file. That means that, in the case when a key is not found in the top-level table, the error message points to the first character. If the file has its first table at the first line, the error message would be like this. ```console [error] key "a" not found --> example.toml | 1 | [table] | ^------ in this table ``` It actually points to the top-level table at the first character, not `[table]`. But it is too confusing. To avoid the confusion, the error message should explicitly say "key not found in the top-level table". |
||
---|---|---|
.. | ||
color.hpp | ||
combinator.hpp | ||
comments.hpp | ||
datetime.hpp | ||
exception.hpp | ||
from.hpp | ||
get.hpp | ||
into.hpp | ||
lexer.hpp | ||
literal.hpp | ||
parser.hpp | ||
region.hpp | ||
result.hpp | ||
serializer.hpp | ||
source_location.hpp | ||
storage.hpp | ||
string.hpp | ||
traits.hpp | ||
types.hpp | ||
utility.hpp | ||
value.hpp |