Open michael-projectx opened 5 months ago
Debug note:
The parser is failing because the $A
object is not being fully consumed during the action step. There is a check on line 43 of config_parser.cpp
that checks if the cfg_res
object is null, and the $A
object is still there. Commenting out that line results in a success and the config_build
app successfully prints the correct config result. More debugging required.
See: https://github.com/miker2/flexi_config_reader/pull/138
This partially addresses the issue. Architecturally there are bigger issues that need addressing to avoid the workaround provide by #138
minimal example:
If the order of the
reference
andproto
are swapped, the parse error goes away. The following does not produce the error:But just this does: