X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc%2Fcompiler%2Fmain%2FSysTools.lhs;h=eee3e1a38354a3e6b511288663466fb186dfb66b;hp=5c434d0db3767d40e9b6aa5aa16d6348fd12c33c;hb=1f8596c23de907107ac4ef6374156de43b77ecb6;hpb=d35356e840b98f614212fcfedb8cf46ad89b4861 diff --git a/ghc/compiler/main/SysTools.lhs b/ghc/compiler/main/SysTools.lhs index 5c434d0..eee3e1a 100644 --- a/ghc/compiler/main/SysTools.lhs +++ b/ghc/compiler/main/SysTools.lhs @@ -86,6 +86,8 @@ import Foreign import CString ( CString, peekCString ) #endif +import Text.Regex + #if __GLASGOW_HASKELL__ < 603 -- rawSystem comes from libghccompat.a in stage1 import Compat.RawSystem ( rawSystem ) @@ -95,7 +97,6 @@ import System.IO.Error ( ioeGetErrorType ) import System.Process ( runInteractiveProcess, getProcessExitCode ) import System.IO ( hSetBuffering, hGetLine, BufferMode(..) ) import Control.Concurrent( forkIO, newChan, readChan, writeChan ) -import Text.Regex import Data.Char ( isSpace ) import FastString ( mkFastString ) import SrcLoc ( SrcLoc, mkSrcLoc, noSrcSpan, mkSrcSpan )