ZipX parsers should reset input to original with any throws in parser-builder-throws-2
#106
randomeizer
started this conversation in
General
Replies: 2 comments 5 replies
-
|
Pushed #107 as a suggested fix. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Timely! We were actually planning on changing backtracking this week and just opened this PR here: #108 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For example, for
ZipVV'sparsemethod looks like this:Unfortunately, if
p0passes andp1fails, whateverinputwas consumed successfully byp1will remain consumed. It should be:Same goes for all the other variations.
Beta Was this translation helpful? Give feedback.
All reactions