summaryrefslogtreecommitdiff
path: root/compiler/GHC
diff options
context:
space:
mode:
authorAdam Gundry <adam@well-typed.com>2023-01-12 08:10:19 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-01-18 14:22:26 -0500
commit7ed1b8ef128866354e781265ee30a0a16444b862 (patch)
tree7b135f8ec08a53b474d7bc5f4b0bf859b1ab3edb /compiler/GHC
parentd0a63ef874ea859c1b6da0df60e68e1f45c4bc56 (diff)
downloadhaskell-7ed1b8ef128866354e781265ee30a0a16444b862.tar.gz
Minor corrections to comments
Diffstat (limited to 'compiler/GHC')
-rw-r--r--compiler/GHC/Driver/Flags.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/GHC/Driver/Flags.hs b/compiler/GHC/Driver/Flags.hs
index 6e6f71cb0e..8b1899bba4 100644
--- a/compiler/GHC/Driver/Flags.hs
+++ b/compiler/GHC/Driver/Flags.hs
@@ -49,7 +49,7 @@ instance NFData Language where
-- | Debugging flags
data DumpFlag
--- See Note [Updating flag description in the User's Guide]
+-- See Note [Updating flag description in the User's Guide] in GHC.Driver.Session
-- debugging flags
= Opt_D_dump_cmm
@@ -196,7 +196,7 @@ enabledIfVerbose _ = True
-- | Enumerates the simple on-or-off dynamic flags
data GeneralFlag
--- See Note [Updating flag description in the User's Guide]
+-- See Note [Updating flag description in the User's Guide] in GHC.Driver.Session
= Opt_DumpToFile -- ^ Append dump output to files instead of stdout.
| Opt_DumpWithWays -- ^ Use foo.ways.<dumpFlag> instead of foo.<dumpFlag>
@@ -533,7 +533,7 @@ optimisationFlags = EnumSet.fromList
]
data WarningFlag =
--- See Note [Updating flag description in the User's Guide]
+-- See Note [Updating flag description in the User's Guide] in GHC.Driver.Session
Opt_WarnDuplicateExports
| Opt_WarnDuplicateConstraints
| Opt_WarnRedundantConstraints
@@ -745,7 +745,7 @@ warnFlagNames wflag = case wflag of
-- Note [Documenting warning flags]
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
--- If you change the list of warning enabled by default
+-- If you change the list of warnings enabled by default
-- please remember to update the User's Guide. The relevant file is:
--
-- docs/users_guide/using-warnings.rst