FiNeR
FiNeR copied to clipboard
Try to support options before first section
It is often allowed, in many config format, to insert options before the first defined section, e.g.
foo = bar
bar = foo
[first-section]
baz = first
Presently, the two options foo
and bar
defined before the first-section
are omitted. Consider to try to parse them.
Some parsers put these orphans options into a default section intended to have a global meaning... it can be the right way.