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

fix(parser): Don't stop on almost-printfs #412

Merged
merged 1 commit into from
Jan 26, 2022
Merged

Conversation

epage
Copy link
Collaborator

@epage epage commented Jan 26, 2022

When we added support for printf interopolation, we had to adjust our
separator matching to not eat the start of printf interpolation.

When doing so, I overlooked the need to still eat it in the catch-all.
If we don't, we then try to read % as part of the identifier and bail
out early.

Fixes #411

When we added support for printf interopolation, we had to adjust our
separator matching to not eat the start of printf interpolation.

When doing so, I overlooked the need to still eat it in the catch-all.
If we don't, we then try to read `%` as part of the identifier and bail
out early.

Fixes crate-ci#411
@epage epage merged commit 9422e45 into crate-ci:master Jan 26, 2022
@epage epage deleted the bug branch January 26, 2022 15:57
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.

Missed typo that is in the list
1 participant