Commit 67c2e076 authored by Alan Zimmerman's avatar Alan Zimmerman

Add API Annotation AnnSignature for backpack signature modules

parent a6e13d50
......@@ -262,6 +262,7 @@ data AnnKeywordId
| AnnSafe
| AnnSemi -- ^ ';'
| AnnSimpleQuote -- ^ '''
| AnnSignature
| AnnStatic -- ^ 'static'
| AnnStock
| AnnThen
......
......@@ -667,7 +667,7 @@ signature :: { Located (HsModule RdrName) }
ams (L loc (HsModule (Just $3) $5 (fst $ snd $7)
(snd $ snd $7) $4 $1)
)
([mj AnnModule $2, mj AnnWhere $6] ++ fst $7) }
([mj AnnSignature $2, mj AnnWhere $6] ++ fst $7) }
module :: { Located (HsModule RdrName) }
: maybedocheader 'module' modid maybemodwarning maybeexports 'where' body
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment