summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2020-10-27 20:19:23 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-10-28 21:12:15 -0400
commitc85eb3722bc68999dee023c98a8da0ffbbd89760 (patch)
treef129ab93944d5062c2013bea0127877b9cd0788a
parent60322f930c544fabd7e68231db26e3a1fb8ed037 (diff)
downloadhaskell-c85eb3722bc68999dee023c98a8da0ffbbd89760.tar.gz
API Annotations: put constructors in alphabetical 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 -- ^ '->'