-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix return of negative integers with partial parser.
Previously, numbers such as `-1a` would return `Ok((1, 2))` from the partial parser, because the wrapping, negative value wasn't handled. This changes it to correctly return `Ok((-1, 2))`. Closes #86.
- Loading branch information
1 parent
17dca4a
commit 71624c3
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters