diff options
-rw-r--r-- | src/compiler/scala/tools/nsc/CompileSocket.scala | 2 |
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) |