[commit: haddock] master: Follow dopt->gopt rename (e73f3e5)

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/haddock

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/e73f3e58de739680b9c4f01c923b0e99f1bd156d

>---------------------------------------------------------------

commit e73f3e58de739680b9c4f01c923b0e99f1bd156d
Author: Ian Lynagh <[email protected]>
Date:   Tue Oct 16 16:54:43 2012 +0100

    Follow dopt->gopt rename

>---------------------------------------------------------------

 src/Main.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Main.hs b/src/Main.hs
index 94cbad0..88c89a1 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -302,7 +302,7 @@ withGhc libDir flags ghcActs = saveStaticFlagGlobals >>= \savedFlags -> do
   (restFlags, _) <- parseStaticFlags (map noLoc flags)
   runGhc (Just libDir) $ do
     dynflags  <- getSessionDynFlags
-    let dynflags' = dopt_set dynflags Opt_Haddock
+    let dynflags' = gopt_set dynflags Opt_Haddock
     let dynflags'' = dynflags' {
         hscTarget = HscNothing,
         ghcMode   = CompManager,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.