summaryrefslogtreecommitdiff
path: root/src/Language/Haskell/GHC/ExactPrint/Utils.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Language/Haskell/GHC/ExactPrint/Utils.hs')
-rw-r--r--src/Language/Haskell/GHC/ExactPrint/Utils.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Language/Haskell/GHC/ExactPrint/Utils.hs b/src/Language/Haskell/GHC/ExactPrint/Utils.hs
index aed8d96..c195340 100644
--- a/src/Language/Haskell/GHC/ExactPrint/Utils.hs
+++ b/src/Language/Haskell/GHC/ExactPrint/Utils.hs
@@ -263,7 +263,9 @@ isListComp :: GHC.HsStmtContext name -> Bool
isListComp cts = case cts of
GHC.ListComp -> True
GHC.MonadComp -> True
+#if __GLASGOW_HASKELL__ <= 804
GHC.PArrComp -> True
+#endif
GHC.DoExpr -> False
GHC.MDoExpr -> False