From 855ec6101a4e0eead00a2c20a1745819372d18dd Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 17 Feb 2009 13:06:27 +0000 Subject: documentation fix, bug #1487 --- src/library/scala/util/parsing/combinator/Parsers.scala | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/library') diff --git a/src/library/scala/util/parsing/combinator/Parsers.scala b/src/library/scala/util/parsing/combinator/Parsers.scala index 64128c8c7f..772202b548 100644 --- a/src/library/scala/util/parsing/combinator/Parsers.scala +++ b/src/library/scala/util/parsing/combinator/Parsers.scala @@ -628,11 +628,9 @@ trait Parsers { /** A parser generator for non-empty repetitions. * - *

rep1sep(first, p, q) starts by using `first', followed by repeatedly uses of `p' interleaved with `q' - * to parse the input, until `p' fails. `first' must succeed (the result is a `List' of the - * consecutive results of `first' and `p')

+ *

rep1sep(p, q) repeatedly applies `p' interleaved with `q' to parse the input, until `p' fails. + * The parser `p' must succeed at least once.

* - * @param first a `Parser' that is to be applied to the first element of input * @param p a `Parser' that is to be applied successively to the input * @param q a `Parser' that parses the elements that separate the elements parsed by `p' * (interleaved with `q') -- cgit v1.2.3