aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-07-06 17:27:16 +0000
committerIan Lynagh <igloo@earth.li>2010-07-06 17:27:16 +0000
commit06cfd96e5597d9eed57de37ffacf46d893938bc1 (patch)
treefb87eb2936db14afc7e450ed49720ed509db174d
parentf1cfa186ffc6268508adb1e5768eacc1fd22f2d8 (diff)
Follow mkPState argument order change
-rw-r--r--src/Haddock/Lex.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Lex.x b/src/Haddock/Lex.x
index e59b10ea..a92f4591 100644
--- a/src/Haddock/Lex.x
+++ b/src/Haddock/Lex.x
@@ -184,7 +184,7 @@ ident pos str sc cont dflags =
strToHsQNames :: DynFlags -> String -> Maybe [RdrName]
strToHsQNames dflags str0 =
let buffer = unsafePerformIO (stringToStringBuffer str0)
- pstate = mkPState buffer noSrcLoc dflags
+ pstate = mkPState dflags buffer noSrcLoc
result = unP parseIdentifier pstate
in case result of
POk _ name -> Just [unLoc name]