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

add parse_with option to parse_config() #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

corynezin
Copy link

Hoping to help facilitate discussion of #86

This is a relatively simple change which allows a user to parse a config with with a scope, essentially just prepending the scope to every statement. One thing this option breaks is using a macro defined in a scope, for example:

X = 1
foo.bar = %X

Will fail if this file is parsed with a scope since it would be equivalent to

scope/X = 1
scope/foo.bar = %X

Please leave any comments or suggestions

@google-cla google-cla bot added the cla: yes label Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant