summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/CompileServer.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2007-02-19 14:45:51 +0000
committermihaylov <mihaylov@epfl.ch>2007-02-19 14:45:51 +0000
commit7b006dc22e3df0ba0ddbbb74febbd61ff7cd0917 (patch)
tree8a5760c8c6491cc7a7578f5469938ebb13189c4b /src/compiler/scala/tools/nsc/CompileServer.scala
parent0647a263beeeb50a09d3d88bb93793f0ee59611f (diff)
downloadscala-7b006dc22e3df0ba0ddbbb74febbd61ff7cd0917.tar.gz
scala-7b006dc22e3df0ba0ddbbb74febbd61ff7cd0917.tar.bz2
scala-7b006dc22e3df0ba0ddbbb74febbd61ff7cd0917.zip
Fixed bug #953
Diffstat (limited to 'src/compiler/scala/tools/nsc/CompileServer.scala')
-rw-r--r--src/compiler/scala/tools/nsc/CompileServer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/CompileServer.scala b/src/compiler/scala/tools/nsc/CompileServer.scala
index 24d4b17bd9..198d473795 100644
--- a/src/compiler/scala/tools/nsc/CompileServer.scala
+++ b/src/compiler/scala/tools/nsc/CompileServer.scala
@@ -93,7 +93,7 @@ object CompileServer extends SocketServer {
def error(msg: String): unit =
reporter.error(/*new Position*/ FakePos("fsc"),
msg + "\n fsc -help gives more information")
- val command = new CompilerCommand(args, error, false) {
+ val command = new CompilerCommand(args, new Settings(error), error, false) {
override val cmdName = "fsc"
settings.disable(settings.prompt)
settings.disable(settings.resident)