summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
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