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

Modernize / update to nom 7 #10

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

nickelc
Copy link

@nickelc nickelc commented Aug 13, 2021

I started with updating to nom 6.2 but 7.0 will probably released in some weeks.
so i kept the PR in draft and just wait for the stable release.

nickelc added 9 commits July 27, 2021 11:28
Copies the `expr_opt` macro from nom v4 for the `take_str_eat_garbage`
macro.

Known Issues:
- parsing of examples/simple's test tarballs fails with Incomplete error
- parse_octal_ok_test fails

Signed-off-by: Constantin Nickel <constantin.nickel@gmail.com>
Signed-off-by: Constantin Nickel <constantin.nickel@gmail.com>
This actually fixes the Incomplete error with examples/simple's tarballs

Signed-off-by: Constantin Nickel <constantin.nickel@gmail.com>
This fixes the remaining issue from the nom v6 upgrade.

Signed-off-by: Constantin Nickel <constantin.nickel@gmail.com>
clippy::comparison_to_empty
clippy::redundant_field_names

Signed-off-by: Constantin Nickel <constantin.nickel@gmail.com>
Signed-off-by: Constantin Nickel <constantin.nickel@gmail.com>
Signed-off-by: Constantin Nickel <constantin.nickel@gmail.com>
Signed-off-by: Constantin Nickel <constantin.nickel@gmail.com>
Signed-off-by: Constantin Nickel <constantin.nickel@gmail.com>
@nickelc nickelc marked this pull request as ready for review August 21, 2021 11:35
@nickelc
Copy link
Author

nickelc commented Aug 21, 2021

nom v7 was just released

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.

1 participant