I tried your configuration with libconfig-1.4.9
and it works:
./cfg server.cfg
loading config: server.cfg...
port: 9034
You seem to be using an old version, that has a bug in parsing @include
, judging by this change log, you should upgrade to libconfig-1.4.3 or newer:
----- version 1.4.3 ------
2010-02-13 Mark Lindner * lib/scanner.l - bugfix for matching @include with preceding whitespace
.