summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2020-01-10 10:47:46 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-12 21:30:08 -0500
commit0b5ddc7f2c10ee84631dd6cb5f6368afbc389449 (patch)
treed9a77d5b2c55d75d9ae5b6fa199612315de9d163 /utils
parent350e2b78788d47255d27489dfc62d664498b5de4 (diff)
downloadhaskell-0b5ddc7f2c10ee84631dd6cb5f6368afbc389449.tar.gz
Fix more typos, via an improved Levenshtein-style corrector
Diffstat (limited to 'utils')
-rw-r--r--utils/gen-dll/Main.hs4
-rw-r--r--utils/genprimopcode/Syntax.hs2
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/gen-dll/Main.hs b/utils/gen-dll/Main.hs
index 237a43016e..10abbe89db 100644
--- a/utils/gen-dll/Main.hs
+++ b/utils/gen-dll/Main.hs
@@ -453,7 +453,7 @@ execLibTool input_def output_lib =
-- This function is called always and decided internally
-- what to do.
build_delay_import_lib :: String -- ^ input def file
- -> String -- ^ ouput import delayed import lib
+ -> String -- ^ output import delayed import lib
-> String -- ^ flag to indicate if delay import
-- lib should be created
-> IO ()
@@ -471,7 +471,7 @@ build_import_lib base dll_name defFile objs
-- This split is important because for DATA entries the compiler should not generate
-- a trampoline since CONTS DATA is directly referenced and not executed. This is not very
- -- important for mingw-w64 which would generate both the trampoline and direct referecne
+ -- important for mingw-w64 which would generate both the trampoline and direct reference
-- by default, but for libtool is it and even for mingw-w64 we can trim the output.
_ <- withFile defFile WriteMode $ \hDef -> do
hPutStrLn hDef $ unlines $ ["LIBRARY " ++ show dll_name
diff --git a/utils/genprimopcode/Syntax.hs b/utils/genprimopcode/Syntax.hs
index b848863135..4dc6e7b2dc 100644
--- a/utils/genprimopcode/Syntax.hs
+++ b/utils/genprimopcode/Syntax.hs
@@ -115,7 +115,7 @@ data SourceText = SourceText String
{- Do some simple sanity checks:
* all the default field names are unique
* for each PrimOpSpec, all override field names are unique
- * for each PrimOpSpec, all overriden field names
+ * for each PrimOpSpec, all overridden field names
have a corresponding default value
* that primop types correspond in certain ways to the
Category: eg if Comparison, the type must be of the form