summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2015-12-31 13:47:43 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2015-12-31 22:35:50 +0100
commit2f923ce2ab8bad6d01645c735c81bbf1b9ff1e05 (patch)
tree8a21936336868ae1bdaf5b10eb8a1d58480a4727 /compiler/parser
parent0d20737860c29169d89c1d5ea728f3848cc28564 (diff)
downloadhaskell-2f923ce2ab8bad6d01645c735c81bbf1b9ff1e05.tar.gz
Drop pre-AMP compatibility CPP conditionals
Since GHC 8.1/8.2 only needs to be bootstrap-able by GHC 7.10 and GHC 8.0 (and GHC 8.2), we can now finally drop all that pre-AMP compatibility CPP-mess for good! Reviewers: austin, goldfire, bgamari Subscribers: goldfire, thomie, erikd Differential Revision: https://phabricator.haskell.org/D1724
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Lexer.x3
-rw-r--r--compiler/parser/RdrHsSyn.hs4
2 files changed, 0 insertions, 7 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index 1bbbfbf20f..26809db5ad 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -74,9 +74,6 @@ module Lexer (
) where
-- base
-#if __GLASGOW_HASKELL__ < 709
-import Control.Applicative
-#endif
import Control.Monad
#if __GLASGOW_HASKELL__ > 710
import Control.Monad.Fail
diff --git a/compiler/parser/RdrHsSyn.hs b/compiler/parser/RdrHsSyn.hs
index 0f380862a4..c8fd1ae37d 100644
--- a/compiler/parser/RdrHsSyn.hs
+++ b/compiler/parser/RdrHsSyn.hs
@@ -95,11 +95,7 @@ import Data.List
import qualified GHC.LanguageExtensions as LangExt
import MonadUtils
-#if __GLASGOW_HASKELL__ < 709
-import Control.Applicative ((<$>))
-#endif
import Control.Monad
-
import Text.ParserCombinators.ReadP as ReadP
import Data.Char