summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-08-21 16:01:55 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-08-21 16:01:55 +0000
commitad5afb048714f63157499172ba12fd5a1b3ede02 (patch)
tree93603bdf74e89f473567af54b7d43f84b1738fd5 /src
parent8678b42928cd475c02edad0e0f3220da31975f0f (diff)
downloadscala-ad5afb048714f63157499172ba12fd5a1b3ede02.tar.gz
scala-ad5afb048714f63157499172ba12fd5a1b3ede02.tar.bz2
scala-ad5afb048714f63157499172ba12fd5a1b3ede02.zip
The ScriptRunner now sends errors to stderr rat...
The ScriptRunner now sends errors to stderr rather than stdout to behave the same as the regular compiler.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/ScriptRunner.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ScriptRunner.scala b/src/compiler/scala/tools/nsc/ScriptRunner.scala
index 36b8dde168..2ec3ece263 100644
--- a/src/compiler/scala/tools/nsc/ScriptRunner.scala
+++ b/src/compiler/scala/tools/nsc/ScriptRunner.scala
@@ -249,7 +249,7 @@ object ScriptRunner {
var fromServer = in.readLine()
while (fromServer ne null) {
- Console.println(fromServer)
+ Console.err.println(fromServer)
if (CompileSocket.errorPattern.matcher(fromServer).matches)
compok = false