Permalink
Browse files

. comment

  • Loading branch information...
kschiess committed Sep 17, 2012
1 parent 799b375 commit affbe7e66bddb1ac4b4b5f52a0b310f7b3988cbb
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/parslet/atoms/repetition.rb
@@ -53,6 +53,9 @@ def try(source, context, postfix)
# Postfix is true, that means that we're inside the part of the parser that # Postfix is true, that means that we're inside the part of the parser that
# should consume the input completely. Repetition failing here means # should consume the input completely. Repetition failing here means
# probably that we didn't. # probably that we didn't.
# We have a special clause to create an error here because otherwise
# break_on would get thrown away. It turns out, that contains very
# interesting information in a lot of cases.
return context.err( return context.err(
self, self,
source, source,

0 comments on commit affbe7e

Please sign in to comment.