summaryrefslogtreecommitdiff
path: root/compiler/parser/Parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/parser/Parser.y')
-rw-r--r--compiler/parser/Parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y
index e3760906dd..2ba131dd79 100644
--- a/compiler/parser/Parser.y
+++ b/compiler/parser/Parser.y
@@ -582,6 +582,7 @@ export :: { OrdList (LIE RdrName) }
[mj AnnModule $1] }
| 'pattern' qcon {% amsu (sLL $1 $> (IEVar $2))
[mj AnnPattern $1] }
+ | '{-# DEPRECATED' deprecations '#-}' { (mapOL (fmap IEWarning) $2) }
export_subspec :: { Located ([AddAnn],ImpExpSubSpec) }
: {- empty -} { sL0 ([],ImpExpAbs) }