summaryrefslogtreecommitdiff
path: root/compiler/parser/ApiAnnotation.hs
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2019-09-29 20:26:32 +0300
committerVladislav Zavialov <vlad.z.4096@gmail.com>2019-11-13 19:30:50 +0300
commit30f4fb75a1fce6bae782540b5803374a630fa657 (patch)
treeda1c6d80a99e0de513aed0f97035eecd385a2420 /compiler/parser/ApiAnnotation.hs
parentbcf335929dd4b1720870d6738fa9450e3e2ba588 (diff)
downloadhaskell-wip/dollar-dollar.tar.gz
Refactor $(...) and $$(...) parsingwip/dollar-dollar
Diffstat (limited to 'compiler/parser/ApiAnnotation.hs')
-rw-r--r--compiler/parser/ApiAnnotation.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/parser/ApiAnnotation.hs b/compiler/parser/ApiAnnotation.hs
index bfb39c8f7b..ca88716f34 100644
--- a/compiler/parser/ApiAnnotation.hs
+++ b/compiler/parser/ApiAnnotation.hs
@@ -258,9 +258,9 @@ data AnnKeywordId
| AnnOpenEQ -- ^ '[|'
| AnnOpenEQU -- ^ '[|', unicode variant
| AnnOpenP -- ^ '('
- | AnnOpenPE -- ^ '$('
- | AnnOpenPTE -- ^ '$$('
| AnnOpenS -- ^ '['
+ | AnnDollar -- ^ prefix '$' -- TemplateHaskell
+ | AnnDollarDollar -- ^ prefix '$$' -- TemplateHaskell
| AnnPackageName
| AnnPattern
| AnnProc