You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
toml++ version and/or commit hash:
toml++ v2.5.0 037bfdd
Compiler:
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
C++ standard mode:
17
Target arch:
x86
Library configuration overrides:
Relevant compilation flags:
Describe the bug
If the table was created earlier, then the redefinition error is not called
Steps to reproduce (or a small repro code sample)
This is parsed without error:
[a.b.c.d]
u = 6
[a]
b.t = 8
[a.b]
u = 0
Result:
[a.b]
t = 8
u = 0
[a.b.c.d]
u = 6
But this is with an error:
[a]
b.t = 8
[a.b]
u = 0
Result:
terminate called after throwing an instance of 'toml::v2::ex::parse_error'what(): Error while parsing table header: cannot redefine existing table 'a.b'
Environment
toml++ version and/or commit hash:
toml++ v2.5.0 037bfdd
Compiler:
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
C++ standard mode:
17
Target arch:
x86
Library configuration overrides:
Relevant compilation flags:
Describe the bug
If the table was created earlier, then the redefinition error is not called
Steps to reproduce (or a small repro code sample)
This is parsed without error:
Result:
But this is with an error:
Result:
Additional information
For example with tomli (Python):
The text was updated successfully, but these errors were encountered: