From cf471e6091fa5c2d74ddbafde7da08f3ca64f416 Mon Sep 17 00:00:00 2001 From: michelou Date: Tue, 11 Sep 2007 15:36:55 +0000 Subject: fixed #59 --- src/compiler/scala/tools/nsc/CompileSocket.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/scala/tools/nsc/CompileSocket.scala') 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) -- cgit v1.2.3