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

satisfy: add failure_msg #185

Merged
merged 1 commit into from
Mar 15, 2020
Merged

Conversation

vbmithr
Copy link
Contributor

@vbmithr vbmithr commented Nov 25, 2019

No description provided.

@seliopou
Copy link
Member

It seems useful to report to the character that satisfy failed on. The optional argument requires all calls to the parser to allocate an additional word. For users that care to label the parser, it would be just as easy to use (<?>) instead.

lib/angstrom.ml Outdated Show resolved Hide resolved
lib/angstrom.ml Outdated Show resolved Hide resolved
@vbmithr vbmithr force-pushed the satisfy-failure-msg branch from bd1198d to 6ece567 Compare March 15, 2020 10:35
@seliopou seliopou merged commit bd3dbb0 into inhabitedtype:master Mar 15, 2020
@seliopou
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants