diff options
Diffstat (limited to 'src/library/scala/util/parsing/combinator/PackratParsers.scala')
-rw-r--r-- | src/library/scala/util/parsing/combinator/PackratParsers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/util/parsing/combinator/PackratParsers.scala b/src/library/scala/util/parsing/combinator/PackratParsers.scala index f99c5e6ae5..da09eff597 100644 --- a/src/library/scala/util/parsing/combinator/PackratParsers.scala +++ b/src/library/scala/util/parsing/combinator/PackratParsers.scala @@ -184,7 +184,7 @@ trait PackratParsers extends Parsers { if(evalSet contains p){ //something in cache, and p is in the evalSet //remove the rule from the evalSet of the Head - h.evalSet = h.evalSet.remove(_==p) + h.evalSet = h.evalSet.filterNot(_==p) val tempRes = p(in) //we know that cached has an entry here val tempEntry: MemoEntry[_] = cached.get // match {case Some(x: MemoEntry[_]) => x} |