summaryrefslogtreecommitdiff
path: root/compiler/GHC.hs
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2021-02-05 09:03:21 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-06 09:30:34 -0500
commit3da472f0e78fe5f1068be0cc2b1c0762532da9f9 (patch)
treed88a147c49aa25fff13866de9b87c712213fbd3f /compiler/GHC.hs
parent9b7dcd80f16efda57e4e51e39d61b55a11c72014 (diff)
downloadhaskell-3da472f0e78fe5f1068be0cc2b1c0762532da9f9.tar.gz
Fix typos
Diffstat (limited to 'compiler/GHC.hs')
-rw-r--r--compiler/GHC.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC.hs b/compiler/GHC.hs
index 5d8b295b95..eef40f6c2b 100644
--- a/compiler/GHC.hs
+++ b/compiler/GHC.hs
@@ -857,7 +857,7 @@ looks_like_an_input m = isSourceFilename m
-- away. Note the asymmetry of FilePath.normalise:
-- Linux: p\/q -> p\/q; p\\q -> p\\q
-- Windows: p\/q -> p\\q; p\\q -> p\\q
--- #12674: Filenames starting with a hypen get normalised from ./-foo.hs
+-- #12674: Filenames starting with a hyphen get normalised from ./-foo.hs
-- to -foo.hs. We have to re-prepend the current directory.
normalise_hyp :: FilePath -> FilePath
normalise_hyp fp