Closed bethebest0622 closed 11 months ago
As stated in the documentation:
An include directive must appear on its own line in the input.
On Wed, Dec 6, 2023 at 8:05 AM bethebest0622 @.***> wrote:
— Reply to this email directly, view it on GitHub https://github.com/hyperrealm/libconfig/issues/235, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR4MI55XDBHAGQLKSQ5L6TYICCSPAVCNFSM6AAAAABAJQ3WYCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZDQNZWGIYTAOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Mark Lindner http://www.hyperrealm.com/
ok.....
@hyperrealm Do we have the plan to add the one line @include support?
There are no plans to do that, as it would significantly complicate the parser.
i used @include directive, learn from here: https://hyperrealm.github.io/libconfig/libconfig_manual.html#Include-Directives
a.cfg
c.cfg
main.cpp
error message
it's ok if the a.cfg looks like:
could you help on this?