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: parse empty strings #177

Merged
merged 1 commit into from
Aug 3, 2023
Merged

fix: parse empty strings #177

merged 1 commit into from
Aug 3, 2023

Conversation

divarvel
Copy link
Collaborator

parse_string_internal, based on nom's escaped_transform only parsed strings with at least one character. I think escaped_transform itself is buggy, but it was faster to special case empty-strings in the biscuit grammar itself.

parse_string_internal, based on nom's escaped_transform only parsed strings with at least one character. I think escaped_transform itself is buggy, but it was faster to special case empty-strings in the biscuit grammar itself.
@divarvel divarvel merged commit 5f2c373 into main Aug 3, 2023
4 checks passed
@divarvel divarvel deleted the parse-empty-strings branch August 3, 2023 07:46
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