Closed ghost closed 7 years ago
any.absent?
? Like EOS/EOF? What version of parslet are you using? I just tried this on master and cannot reproduce your NoMethodError.
Sorry, had some other things to do. It seems to be fixed now, so i am just going to close the issue. Thanks for looking into it, though.
Is this intended?
The problem appears to be that
any.absent?.parse('')
returnsnil
, which can't be concatenated with the second repetition.I suggest having
any.absent?.parse('')
return empty string.