summaryrefslogtreecommitdiff
path: root/compiler/main
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2016-12-01 18:46:35 +0100
committerGabor Greif <ggreif@gmail.com>2016-12-01 19:38:09 +0100
commit0f37550c797b08b953049fb84f6ea127e4d7668c (patch)
treeec45e3a68b038e6c9f88263769da3d82ff1d14f2 /compiler/main
parent6576bf83cdf4eac05eb88a24aa934a736c91e3da (diff)
downloadhaskell-0f37550c797b08b953049fb84f6ea127e4d7668c.tar.gz
Typos in comments
Diffstat (limited to 'compiler/main')
-rw-r--r--compiler/main/DynFlags.hs4
-rw-r--r--compiler/main/HeaderInfo.hs2
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 30bfa5ea7d..cbf247c49d 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -893,7 +893,7 @@ data DynFlags = DynFlags {
nextWrapperNum :: IORef (ModuleEnv Int),
- -- | Machine dependant flags (-m<blah> stuff)
+ -- | Machine dependent flags (-m<blah> stuff)
sseVersion :: Maybe SseVersion,
avx :: Bool,
avx2 :: Bool,
@@ -2969,7 +2969,7 @@ dynamic_flags_deps = [
(NoArg (setGeneralFlag Opt_NoLlvmMangler)) -- hidden flag
, make_ord_flag defGhcFlag "ddump-debug" (setDumpFlag Opt_D_dump_debug)
- ------ Machine dependant (-m<blah>) stuff ---------------------------
+ ------ Machine dependent (-m<blah>) stuff ---------------------------
, make_ord_flag defGhcFlag "msse" (noArg (\d ->
d { sseVersion = Just SSE1 }))
diff --git a/compiler/main/HeaderInfo.hs b/compiler/main/HeaderInfo.hs
index 5c8c89334c..2c27de156c 100644
--- a/compiler/main/HeaderInfo.hs
+++ b/compiler/main/HeaderInfo.hs
@@ -97,7 +97,7 @@ mkPrelImports :: ModuleName
-> SrcSpan -- Attribute the "import Prelude" to this location
-> Bool -> [LImportDecl RdrName]
-> [LImportDecl RdrName]
--- Consruct the implicit declaration "import Prelude" (or not)
+-- Construct the implicit declaration "import Prelude" (or not)
--
-- NB: opt_NoImplicitPrelude is slightly different to import Prelude ();
-- because the former doesn't even look at Prelude.hi for instance