summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2008-02-18 22:42:13 +0000
committerLex Spoon <lex@lexspoon.org>2008-02-18 22:42:13 +0000
commit2e1386f3754bf6b76d6828209e51fda4e9ad406c (patch)
tree8b0200e2f2e5dbec3426b2059cf21904bce34292 /src
parentb3c3d1a638061ae8bfb2c03d27c23399cfe73ef0 (diff)
downloadscala-2e1386f3754bf6b76d6828209e51fda4e9ad406c.tar.gz
scala-2e1386f3754bf6b76d6828209e51fda4e9ad406c.tar.bz2
scala-2e1386f3754bf6b76d6828209e51fda4e9ad406c.zip
moved NewLinePrintWriter back to object Interpr...
moved NewLinePrintWriter back to object Interpreter (oops!)
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!
*/