Closed sheldon-b closed 8 years ago
The Travis build seems to be broken since flexmock requires Ruby >=2.0
Would setting prefix: true
in the #parse
-call not also work?
https://github.com/kschiess/parslet/blob/master/lib/parslet/atoms/base.rb#L14-L25
Ah, you're right. That works very well, thanks. I didn't see examples using that and didn't quite understand the comments.
The Finished atom consumes the remainder of the input and always succeeds.