Skip to content

How can I go around this Infinite loop ? #228

Closed Answered by mackoj
mackoj asked this question in Q&A
Discussion options

You must be logged in to vote

I just have to add Peek { Prefix<Substring>(1) } before the other optional parser in order to be sure that the input wasn't empty.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@mackoj
Comment options

@mackoj
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mackoj
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant