aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockRename.hs
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-04-10 15:50:11 +0000
committersimonmar <unknown>2002-04-10 15:50:11 +0000
commit76bd7b3484f8a6353736437f0b7fb0c1cdf199b6 (patch)
treeb046d1f9534160c5703814985b50414ba1731b8d /src/HaddockRename.hs
parentcfbaf9f7c17481e3df32e1c1c25e8eb5c06591a6 (diff)
[haddock @ 2002-04-10 15:50:10 by simonmar]
Generate a little table of contents at the top of the module doc (only if the module actually contains some section headings, though).
Diffstat (limited to 'src/HaddockRename.hs')
-rw-r--r--src/HaddockRename.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HaddockRename.hs b/src/HaddockRename.hs
index 4c5a631b..d43fb959 100644
--- a/src/HaddockRename.hs
+++ b/src/HaddockRename.hs
@@ -191,9 +191,9 @@ lookupIdString str = do
renameExportItems items = mapM rn items
where
- rn (ExportGroup lev doc)
+ rn (ExportGroup lev id doc)
= do doc <- renameDoc doc
- return (ExportGroup lev doc)
+ return (ExportGroup lev id doc)
rn (ExportDecl decl)
= do decl <- renameDecl decl
return (ExportDecl decl)