summaryrefslogtreecommitdiff
path: root/compiler/GHC/Parser/Header.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Parser/Header.hs')
-rw-r--r--compiler/GHC/Parser/Header.hs12
1 files changed, 4 insertions, 8 deletions
diff --git a/compiler/GHC/Parser/Header.hs b/compiler/GHC/Parser/Header.hs
index cb8a5c334e..87f20b5c9c 100644
--- a/compiler/GHC/Parser/Header.hs
+++ b/compiler/GHC/Parser/Header.hs
@@ -1,4 +1,3 @@
-
{-# LANGUAGE TypeFamilies #-}
-----------------------------------------------------------------------------
@@ -301,13 +300,10 @@ getOptions' opts toks
isComment :: Token -> Bool
isComment c =
case c of
- (ITlineComment {}) -> True
- (ITblockComment {}) -> True
- (ITdocCommentNext {}) -> True
- (ITdocCommentPrev {}) -> True
- (ITdocCommentNamed {}) -> True
- (ITdocSection {}) -> True
- _ -> False
+ (ITlineComment {}) -> True
+ (ITblockComment {}) -> True
+ (ITdocComment {}) -> True
+ _ -> False
toArgs :: RealSrcLoc
-> String -> Either String -- Error