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
Sorry, but I could not reproduce it with a simple toml file that includes Body only. It works with both files.
The internal representation of an inline table is the same as that of multiline table. So the same operation should be able to be applied.
If you have encountered this behavior in a toml file containing other tables, it may be explained by the difference of inline tables and (multiline) tables in the toml specification.
Multiline tables create a new table, so the table value is placed below root. But an inline table is defined as a key-value pair, so they are placed under the table to which the row belongs.
That is probably the case. The table is swallowed by the previous table when it is inlined. So std::setw(xx) is a much more important parameter than I expected.
Hello,
I use the following code to iterate over subtables of a table:
This works fine for the long table format...
... but fails with the inline format.
Body = {1={nodes=[1,2]},2={nodes=[2,3]}}
The table "Body" is not found so there is nothing to iterate over.
Any hints?
Cheers,
Torsten
The text was updated successfully, but these errors were encountered: