summaryrefslogtreecommitdiff
path: root/docs/users_guide
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@mit.edu>2013-03-07 16:00:28 -0800
committerEdward Z. Yang <ezyang@mit.edu>2013-03-07 16:00:52 -0800
commitf6e9c261314878e9b5a0ad51edbf31ce0d4ba607 (patch)
treee1c9f67847f830ca3272cd7ac554619a4da394b0 /docs/users_guide
parent1ce57ec9d544beaee79aed50c4e12de144e4482f (diff)
downloadhaskell-f6e9c261314878e9b5a0ad51edbf31ce0d4ba607.tar.gz
Follow defaultErrorHandler change, fixes #7752.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Diffstat (limited to 'docs/users_guide')
-rw-r--r--docs/users_guide/extending_ghc.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/extending_ghc.xml b/docs/users_guide/extending_ghc.xml
index 2c7f0210a8..1abe8a8f68 100644
--- a/docs/users_guide/extending_ghc.xml
+++ b/docs/users_guide/extending_ghc.xml
@@ -90,10 +90,10 @@ data Foo = ...
<programlisting>
import GHC
import GHC.Paths ( libdir )
-import DynFlags ( defaultDynFlags )
+import DynFlags ( defaultLogAction )
main =
- defaultErrorHandler defaultDynFlags $ do
+ defaultErrorHandler defaultLogAction $ do
runGhc (Just libdir) $ do
dflags &lt;- getSessionDynFlags
setSessionDynFlags dflags