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

Fix handling of empty sections #23

Closed
brson opened this Issue Aug 6, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@brson
Contributor

brson commented Aug 6, 2016

Today all sections of the macro are optional, but the way it is handled is with '*' matchers. So instead of supporting 0 or 1 instances of any section, those sections can be repeated many times. And if that happens things go bad.

@brson brson closed this in 42ebcb1 Aug 7, 2016

brson added a commit that referenced this issue Aug 7, 2016

Merge pull request #26 from birkenfeld/issue-23
Fixup matching, disallow repeating "types" (closes #23)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment