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
It would be neat if we could add option annotation support to libConfuse:
/* Some comment to an option */
option = value
/* Section comment, here be dragons */
section {
key = val
/* Another comment, why we set to true */
bool = true
}
So that if we call cfg_print() on the above parsed cfg_t, we would get the same output.
The following variant should also be possible:
option = value /* Some comment to an option */
but with the following the last comment would be set
/* Some comment to an option */
option = value /* Actual comment set to to option */
The text was updated successfully, but these errors were encountered:
It would be neat if we could add option annotation support to libConfuse:
So that if we call
cfg_print()
on the above parsedcfg_t
, we would get the same output.The following variant should also be possible:
but with the following the last comment would be set
The text was updated successfully, but these errors were encountered: