aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Parser.hs
diff options
context:
space:
mode:
Diffstat (limited to 'haddock-api/src/Haddock/Parser.hs')
-rw-r--r--haddock-api/src/Haddock/Parser.hs16
1 files changed, 8 insertions, 8 deletions
diff --git a/haddock-api/src/Haddock/Parser.hs b/haddock-api/src/Haddock/Parser.hs
index 05f3c7f0..0604a831 100644
--- a/haddock-api/src/Haddock/Parser.hs
+++ b/haddock-api/src/Haddock/Parser.hs
@@ -18,14 +18,14 @@ import qualified Documentation.Haddock.Parser as P
import Documentation.Haddock.Types
import Haddock.Types
-import DynFlags ( DynFlags )
-import FastString ( fsLit )
-import Lexer ( mkPState, unP, ParseResult(..) )
-import OccName ( occNameString )
-import Parser ( parseIdentifier )
-import RdrName ( RdrName(Qual) )
-import SrcLoc ( mkRealSrcLoc, GenLocated(..) )
-import StringBuffer ( stringToStringBuffer )
+import GHC.Driver.Session ( DynFlags )
+import GHC.Data.FastString ( fsLit )
+import GHC.Parser.Lexer ( mkPState, unP, ParseResult(POk, PFailed) )
+import GHC.Parser ( parseIdentifier )
+import GHC.Types.Name.Occurrence ( occNameString )
+import GHC.Types.Name.Reader ( RdrName(..) )
+import GHC.Types.SrcLoc ( mkRealSrcLoc, GenLocated(..), unLoc )
+import GHC.Data.StringBuffer ( stringToStringBuffer )
parseParas :: DynFlags -> Maybe Package -> String -> MetaDoc mod (Wrap NsRdrName)