Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to support options before first section #7

Open
szaghi opened this issue Apr 1, 2015 · 1 comment
Open

Try to support options before first section #7

szaghi opened this issue Apr 1, 2015 · 1 comment

Comments

@szaghi
Copy link
Owner

szaghi commented Apr 1, 2015

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.

@szaghi
Copy link
Owner Author

szaghi commented Apr 1, 2015

Some parsers put these orphans options into a default section intended to have a global meaning... it can be the right way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant