summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Interpreter.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc/Interpreter.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Interpreter.scala8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/Interpreter.scala b/src/compiler/scala/tools/nsc/Interpreter.scala
index a41198a97a..df14417565 100644
--- a/src/compiler/scala/tools/nsc/Interpreter.scala
+++ b/src/compiler/scala/tools/nsc/Interpreter.scala
@@ -94,7 +94,7 @@ class Interpreter(val settings: Settings, out: PrintWriter) {
/** Be quiet. Do not print out the results of each
* submitted command unless an exception is thrown. */
- def beQuiet = { printResults = false }
+ def beQuiet { printResults = false }
/** Temporarily be quiet */
def beQuietDuring[T](operation: => T): T = {
@@ -111,7 +111,9 @@ class Interpreter(val settings: Settings, out: PrintWriter) {
lazy val isettings = new InterpreterSettings
object reporter extends ConsoleReporter(settings, null, out) {
- override def printMessage(msg: String) { out.print(clean(msg) + "\n"); out.flush() }
+ override def printMessage(msg: String) {
+ out.print(clean(msg) + "\n"); out.flush()
+ }
}
/** Instantiate a compiler. Subclasses can override this to
@@ -934,4 +936,4 @@ object Interpreter {
}
res.toString
}
-} \ No newline at end of file
+}