diff options
author | Paul Phillips <paulp@improving.org> | 2009-02-17 13:06:27 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-02-17 13:06:27 +0000 |
commit | 855ec6101a4e0eead00a2c20a1745819372d18dd (patch) | |
tree | 7c01df5b254a99823cf96e98cf227b6c647a9004 /src/library | |
parent | f43868888ef255b30fb4da917a8250d8f10cb084 (diff) | |
download | scala-855ec6101a4e0eead00a2c20a1745819372d18dd.tar.gz scala-855ec6101a4e0eead00a2c20a1745819372d18dd.tar.bz2 scala-855ec6101a4e0eead00a2c20a1745819372d18dd.zip |
documentation fix, bug #1487
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/util/parsing/combinator/Parsers.scala | 6 |
1 files changed, 2 insertions, 4 deletions
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. * - * <p>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')</p> + * <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.</p> * - * @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') |