aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Lex.x
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Lex.x')
-rw-r--r--src/Haddock/Lex.x4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Haddock/Lex.x b/src/Haddock/Lex.x
index 75d44fff..86f66e2d 100644
--- a/src/Haddock/Lex.x
+++ b/src/Haddock/Lex.x
@@ -189,11 +189,7 @@ strToHsQNames dflags str0 =
#else
let buffer = unsafePerformIO (stringToStringBuffer str0)
#endif
-#if MIN_VERSION_ghc(6,13,0)
pstate = mkPState dflags buffer noSrcLoc
-#else
- pstate = mkPState buffer noSrcLoc dflags
-#endif
result = unP parseIdentifier pstate
in case result of
POk _ name -> Just [unLoc name]