diff options
author | Janek Bogucki <janekdb@gmail.com> | 2015-07-29 21:46:02 +0100 |
---|---|---|
committer | Janek Bogucki <janekdb@gmail.com> | 2015-07-29 21:46:02 +0100 |
commit | 6b53b0302abf4e4946012174a153372ea56abe9a (patch) | |
tree | 26fb2bbac8ff46483dc04c6b0fbc1a800f8b8053 /src/compiler/scala/tools/nsc/util/DocStrings.scala | |
parent | a745f06e35e070061348e95725afb0def8ca45de (diff) | |
download | scala-6b53b0302abf4e4946012174a153372ea56abe9a.tar.gz scala-6b53b0302abf4e4946012174a153372ea56abe9a.tar.bz2 scala-6b53b0302abf4e4946012174a153372ea56abe9a.zip |
ScalaDoc fixes for compiler
Diffstat (limited to 'src/compiler/scala/tools/nsc/util/DocStrings.scala')
-rwxr-xr-x | src/compiler/scala/tools/nsc/util/DocStrings.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/util/DocStrings.scala b/src/compiler/scala/tools/nsc/util/DocStrings.scala index 4ff7067a21..501546b8f6 100755 --- a/src/compiler/scala/tools/nsc/util/DocStrings.scala +++ b/src/compiler/scala/tools/nsc/util/DocStrings.scala @@ -37,7 +37,7 @@ object DocStrings { /** Returns index of string `str` after `start` skipping longest * sequence of space and tab characters, possibly also containing * a single `*` character or the `/``**` sequence. - * @pre start == str.length || str(start) == `\n' + * @pre start == str.length || str(start) == `\n` */ def skipLineLead(str: String, start: Int): Int = if (start == str.length) start @@ -49,7 +49,7 @@ object DocStrings { else idx } - /** Skips to next occurrence of `\n' or to the position after the `/``**` sequence following index `start`. + /** Skips to next occurrence of `\n` or to the position after the `/``**` sequence following index `start`. */ def skipToEol(str: String, start: Int): Int = if (start + 2 < str.length && (str charAt start) == '/' && (str charAt (start + 1)) == '*' && (str charAt (start + 2)) == '*') start + 3 |