summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Lexer.x2
-rw-r--r--compiler/parser/Parser.y8
-rw-r--r--compiler/parser/RdrHsSyn.hs2
3 files changed, 6 insertions, 6 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index 7b280086ad..050a49c8c6 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -102,7 +102,7 @@ import Util ( readRational, readHexRational )
-- compiler/main
import ErrUtils
-import DynFlags
+import GHC.Driver.Session as DynFlags
-- compiler/basicTypes
import SrcLoc
diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y
index 8cb9a96df1..73e3c52851 100644
--- a/compiler/parser/Parser.y
+++ b/compiler/parser/Parser.y
@@ -48,10 +48,10 @@ import qualified Prelude
import GHC.Hs
-- compiler/main
-import DriverPhases ( HscSource(..) )
-import HscTypes ( IsBootInterface, WarningTxt(..) )
-import DynFlags
-import BkpSyn
+import GHC.Driver.Phases ( HscSource(..) )
+import GHC.Driver.Types ( IsBootInterface, WarningTxt(..) )
+import GHC.Driver.Session
+import GHC.Driver.Backpack.Syntax
import UnitInfo
-- compiler/utils
diff --git a/compiler/parser/RdrHsSyn.hs b/compiler/parser/RdrHsSyn.hs
index e8229a9443..8bf18fc928 100644
--- a/compiler/parser/RdrHsSyn.hs
+++ b/compiler/parser/RdrHsSyn.hs
@@ -130,7 +130,7 @@ import Maybes
import Util
import ApiAnnotation
import Data.List
-import DynFlags ( WarningFlag(..), DynFlags )
+import GHC.Driver.Session ( WarningFlag(..), DynFlags )
import ErrUtils ( Messages )
import Control.Monad