aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-07-24 23:26:49 +0000
committerIan Lynagh <igloo@earth.li>2010-07-24 23:26:49 +0000
commitf279f1be8f554dcb1744be1e722e14e36a0581ff (patch)
treef211d26868dc661cd53d162a0e46358260fcd45e
parentdcb03b6589bde9aebc1b8b418112a64a0e9763a8 (diff)
Follow flattenLanguageFlags -> flattenExtensionFlags rename
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index aaed1f48..51e98e1e 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -386,7 +386,7 @@ getPrologue flags =
[] -> return Nothing
[filename] -> do
str <- readFile filename
- case parseParas (tokenise (flattenLanguageFlags defaultDynFlags) str (0,0) {- TODO: real position -}) of
+ case parseParas (tokenise (flattenExtensionFlags defaultDynFlags) str (0,0) {- TODO: real position -}) of
Nothing -> throwE $ "failed to parse haddock prologue from file: " ++ filename
Just doc -> return (Just doc)
_otherwise -> throwE "multiple -p/--prologue options"