diff options
author | michelou <michelou@epfl.ch> | 2007-06-19 17:58:07 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-06-19 17:58:07 +0000 |
commit | 177505fcb9567827ac334c5c59decd58a43809c8 (patch) | |
tree | a45c7b48bb8d724e0a26d1f933e5960097206f04 /src/compiler/scala/tools/nsc/EvalLoop.scala | |
parent | 09dd9eb7efc36a7610f43b3ad31c82aa40e56544 (diff) | |
download | scala-177505fcb9567827ac334c5c59decd58a43809c8.tar.gz scala-177505fcb9567827ac334c5c59decd58a43809c8.tar.bz2 scala-177505fcb9567827ac334c5c59decd58a43809c8.zip |
added prompt/fileEnding properties
Diffstat (limited to 'src/compiler/scala/tools/nsc/EvalLoop.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/EvalLoop.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/EvalLoop.scala b/src/compiler/scala/tools/nsc/EvalLoop.scala index 25f34e4e8d..ea58f8b9b0 100644 --- a/src/compiler/scala/tools/nsc/EvalLoop.scala +++ b/src/compiler/scala/tools/nsc/EvalLoop.scala @@ -1,5 +1,5 @@ /* NSC -- new Scala compiler - * Copyright 2005-2006 LAMP/EPFL + * Copyright 2005-2007 LAMP/EPFL * @author Martin Odersky */ // $Id$ @@ -10,7 +10,7 @@ trait EvalLoop { def prompt: String - def loop(action: (String) => Unit): Unit = { + def loop(action: (String) => Unit) { Console.print(prompt) val line = Console.readLine if ((line ne null) && line.length() > 0) { |