summaryrefslogtreecommitdiff
path: root/ghc/GHCi/UI/Tags.hs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-04-06 15:13:55 +0200
committerGabor Greif <ggreif@gmail.com>2017-04-11 18:51:23 +0200
commitfc2a96a1ea9cceba596cbd652b44bd830a4191e4 (patch)
treeeef5f094301bd5c25710adc343b36eaf4df5e0bc /ghc/GHCi/UI/Tags.hs
parente662a6cb9fb6459e0a15abbff25ae7b80f91b281 (diff)
downloadhaskell-fc2a96a1ea9cceba596cbd652b44bd830a4191e4.tar.gz
Typos in comments [ci skip]
Diffstat (limited to 'ghc/GHCi/UI/Tags.hs')
-rw-r--r--ghc/GHCi/UI/Tags.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/GHCi/UI/Tags.hs b/ghc/GHCi/UI/Tags.hs
index 8a06eb3583..c23db57f81 100644
--- a/ghc/GHCi/UI/Tags.hs
+++ b/ghc/GHCi/UI/Tags.hs
@@ -143,12 +143,12 @@ writeTagsSafely file str = do
else writeFile file str
collateAndWriteTags :: TagsKind -> FilePath -> [TagInfo] -> IO (Either IOError ())
--- ctags style with the Ex exresion being just the line number, Vim et al
+-- ctags style with the Ex expression being just the line number, Vim et al
collateAndWriteTags CTagsWithLineNumbers file tagInfos = do
let tags = unlines $ sort $ map showCTag tagInfos
tryIO (writeTagsSafely file tags)
--- ctags style with the Ex exresion being a regex searching the line, Vim et al
+-- ctags style with the Ex expression being a regex searching the line, Vim et al
collateAndWriteTags CTagsWithRegExes file tagInfos = do -- ctags style, Vim et al
tagInfoGroups <- makeTagGroupsWithSrcInfo tagInfos
let tags = unlines $ sort $ map showCTag $concat tagInfoGroups