aboutsummaryrefslogtreecommitdiff
path: root/src/HsSyn.lhs
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-04-25 14:40:05 +0000
committersimonmar <unknown>2002-04-25 14:40:05 +0000
commit6395502702ae2cf4f4ff969fce2b984e603f0f86 (patch)
tree69f42c9a9c3e49e0745a9d5937277b8587ebe79b /src/HsSyn.lhs
parent044cea8101424a367d578d4943553e5b20bd6ec0 (diff)
[haddock @ 2002-04-25 14:40:05 by simonmar]
- Add support for named chunks of documentation which can be referenced from the export list. - Copy the icon from $libdir to the destination in HTML mode.
Diffstat (limited to 'src/HsSyn.lhs')
-rw-r--r--src/HsSyn.lhs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/HsSyn.lhs b/src/HsSyn.lhs
index ae55402e..7abf4454 100644
--- a/src/HsSyn.lhs
+++ b/src/HsSyn.lhs
@@ -1,5 +1,5 @@
% -----------------------------------------------------------------------------
-% $Id: HsSyn.lhs,v 1.3 2002/04/24 15:57:48 simonmar Exp $
+% $Id: HsSyn.lhs,v 1.4 2002/04/25 14:40:05 simonmar Exp $
%
% (c) The GHC Team, 1997-2002
%
@@ -80,6 +80,8 @@ data HsExportSpec
| HsEThingWith HsQName [HsQName] -- T(C_1,...,C_n)
| HsEModuleContents Module -- module M (not for imports)
| HsEGroup Int String -- a doc section heading
+ | HsEDoc String -- some documentation
+ | HsEDocNamed String -- a reference to named doc
deriving (Eq,Show)
data HsImportDecl
@@ -127,6 +129,7 @@ data HsDecl
| HsForeignExport SrcLoc HsCallConv String HsName HsType
| HsDocCommentNext String -- a documentation annotation
| HsDocCommentPrev String -- a documentation annotation
+ | HsDocCommentNamed String -- a documentation annotation
| HsDocGroup Int String -- a documentation group
deriving (Eq,Show)