diff options
Diffstat (limited to 'compiler/GHC/SysTools/Process.hs')
-rw-r--r-- | compiler/GHC/SysTools/Process.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/SysTools/Process.hs b/compiler/GHC/SysTools/Process.hs index 4f11a29ea1..d09a3bd09c 100644 --- a/compiler/GHC/SysTools/Process.hs +++ b/compiler/GHC/SysTools/Process.hs @@ -348,8 +348,8 @@ parseError s0 = case breakColon s0 of -- taking care to ignore colons in Windows drive letters (as noted in #17786). -- For instance, -- --- * @"hi.c: ABCD"@ is mapped to @Just ("hi.c", "ABCD")@ --- * @"C:\hi.c: ABCD"@ is mapped to @Just ("C:\hi.c", "ABCD")@ +-- * @"hi.c: ABCD"@ is mapped to @Just ("hi.c", \"ABCD\")@ +-- * @"C:\\hi.c: ABCD"@ is mapped to @Just ("C:\\hi.c", \"ABCD\")@ breakColon :: String -> Maybe (String, String) breakColon = go [] where |