summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/Interpreter.scala7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/Interpreter.scala b/src/compiler/scala/tools/nsc/Interpreter.scala
index 1833ff1065..fac08c3a8b 100644
--- a/src/compiler/scala/tools/nsc/Interpreter.scala
+++ b/src/compiler/scala/tools/nsc/Interpreter.scala
@@ -896,16 +896,15 @@ class Interpreter(val settings: Settings, out: PrintWriter) {
}
}
}
+}
+/** Utility methods for the Interpreter. */
+object Interpreter {
class NewLinePrintWriter(out: Writer, autoFlush: Boolean)
extends PrintWriter(out, autoFlush) {
def this(out: Writer) = this(out, false)
override def println() { print("\n"); flush() }
}
-}
-
-/** Utility methods for the Interpreter. */
-object Interpreter {
/** Delete a directory tree recursively. Use with care!
*/