diff options
Diffstat (limited to 'src/compiler')
-rwxr-xr-x | src/compiler/scala/tools/nsc/ast/DocComments.scala | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/DocComments.scala b/src/compiler/scala/tools/nsc/ast/DocComments.scala index 13167bf586..51c1fab0f1 100755 --- a/src/compiler/scala/tools/nsc/ast/DocComments.scala +++ b/src/compiler/scala/tools/nsc/ast/DocComments.scala @@ -337,12 +337,8 @@ trait DocComments { self: SymbolTable => var idx = skipVariable(str, start) val vble = variableName(str.substring(start, idx)) - if (idx < str.length && isWhitespace(str charAt idx)) idx += 1 - var end = str.lastIndexOf('\n') - if (end == -1) end = str.length - defs(sym) += vble -> str.substring(idx, end) + defs(sym) += vble -> (str drop idx).trim.replaceAll("""\s+\*+$""", "") } - //if (defs(sym).nonEmpty) println("vars of "+sym+" = "+defs(sym)) // !!! } } |