summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/CompileSocket.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-09-11 15:36:55 +0000
committermichelou <michelou@epfl.ch>2007-09-11 15:36:55 +0000
commitcf471e6091fa5c2d74ddbafde7da08f3ca64f416 (patch)
tree56444926b397f627a2469c3977ddd3b04e18094c /src/compiler/scala/tools/nsc/CompileSocket.scala
parent8d1cf73c03dd5ff802cf89c6e5405e7af5000b59 (diff)
downloadscala-cf471e6091fa5c2d74ddbafde7da08f3ca64f416.tar.gz
scala-cf471e6091fa5c2d74ddbafde7da08f3ca64f416.tar.bz2
scala-cf471e6091fa5c2d74ddbafde7da08f3ca64f416.zip
fixed #59
Diffstat (limited to 'src/compiler/scala/tools/nsc/CompileSocket.scala')
-rw-r--r--src/compiler/scala/tools/nsc/CompileSocket.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/CompileSocket.scala b/src/compiler/scala/tools/nsc/CompileSocket.scala
index 3c6f6d1e93..092c300ae5 100644
--- a/src/compiler/scala/tools/nsc/CompileSocket.scala
+++ b/src/compiler/scala/tools/nsc/CompileSocket.scala
@@ -41,7 +41,7 @@ class CompileSocket {
protected val serverClass = "scala.tools.nsc.CompileServer"
/** A regular expression for checking compiler output for errors */
- val errorRegex = ".*errors? found.*"
+ val errorRegex = ".*(errors? found|don't know|bad option).*"
/** A Pattern object for checking compiler output for errors */
val errorPattern = Pattern.compile(errorRegex)