summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2020-10-27 20:19:23 +0000
committerAlan Zimmerman <alan.zimm@gmail.com>2020-10-27 20:19:23 +0000
commit0bb9606f357d18d2e95905017738722ada549085 (patch)
treedf4643c2d5f292ca17368e6e754c5c315803f4a1
parent28f98b01d055c8027f9495b1669bf875b3e42168 (diff)
downloadhaskell-wip/az/tweak-annpercent-order.tar.gz
API Annotations: put constructors in alphabetical orderwip/az/tweak-annpercent-order
-rw-r--r--compiler/GHC/Parser/Annotation.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Parser/Annotation.hs b/compiler/GHC/Parser/Annotation.hs
index 9381d591d4..c27fd7a773 100644
--- a/compiler/GHC/Parser/Annotation.hs
+++ b/compiler/GHC/Parser/Annotation.hs
@@ -301,7 +301,6 @@ data AnnKeywordId
| AnnMdo
| AnnMinus -- ^ '-'
| AnnModule
- | AnnPercentOne -- ^ '%1' -- for HsLinearArrow
| AnnNewtype
| AnnName -- ^ where a name loses its location in the AST, this carries it
| AnnOf
@@ -318,7 +317,8 @@ data AnnKeywordId
| AnnDollarDollar -- ^ prefix '$$' -- TemplateHaskell
| AnnPackageName
| AnnPattern
- | AnnPercent -- ^ '%' -- for HsExplicitMult
+ | AnnPercent -- ^ '%' -- for HsExplicitMult
+ | AnnPercentOne -- ^ '%1' -- for HsLinearArrow
| AnnProc
| AnnQualified
| AnnRarrow -- ^ '->'