diff options
author | Jan HrĨek <honza.hrk@gmail.com> | 2020-06-24 15:55:39 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-28 09:20:22 -0400 |
commit | 68530b1cd45629e5a353a37df80195ac54d26ade (patch) | |
tree | a6aa929d32d9c1caff4ca57c5ffde238d7c9717a /compiler/GHC/Driver/MakeFile.hs | |
parent | 42f797b0ad034a92389e7081aa50ef4ab3434d01 (diff) | |
download | haskell-68530b1cd45629e5a353a37df80195ac54d26ade.tar.gz |
Fix duplicated words and typos in comments and user guide
Diffstat (limited to 'compiler/GHC/Driver/MakeFile.hs')
-rw-r--r-- | compiler/GHC/Driver/MakeFile.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Driver/MakeFile.hs b/compiler/GHC/Driver/MakeFile.hs index ed963ec733..cd1a2d6ffa 100644 --- a/compiler/GHC/Driver/MakeFile.hs +++ b/compiler/GHC/Driver/MakeFile.hs @@ -256,7 +256,7 @@ findDependency :: HscEnv -> ModuleName -- Imported module -> IsBootInterface -- Source import -> Bool -- Record dependency on package modules - -> IO (Maybe FilePath) -- Interface file file + -> IO (Maybe FilePath) -- Interface file findDependency hsc_env srcloc pkg imp is_boot include_pkg_deps = do { -- Find the module; this will be fast because -- we've done it once during downsweep @@ -296,7 +296,7 @@ insertSuffixes :: FilePath -- Original filename; e.g. "foo.o" -> [String] -- Suffix prefixes e.g. ["x_", "y_"] -> [FilePath] -- Zapped filenames e.g. ["foo.x_o", "foo.y_o"] - -- Note that that the extra bit gets inserted *before* the old suffix + -- Note that the extra bit gets inserted *before* the old suffix -- We assume the old suffix contains no dots, so we know where to -- split it insertSuffixes file_name extras |