summaryrefslogtreecommitdiff
path: root/compiler/GHC/Parser/Lexer.x
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-01-30 08:45:46 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-01 12:29:26 -0500
commit06185102bb06d6d56e00d40172a6a473fc228501 (patch)
tree55d92897b9688ea6e1597fad2c33c1e13d1e0053 /compiler/GHC/Parser/Lexer.x
parentfdda93b03e9be56122dd8445e7ee0f1d0f933a19 (diff)
downloadhaskell-06185102bb06d6d56e00d40172a6a473fc228501.tar.gz
Consistently upper-case "Note ["
This was achieved with git ls-tree --name-only HEAD -r | xargs sed -i -e 's/note \[/Note \[/g'
Diffstat (limited to 'compiler/GHC/Parser/Lexer.x')
-rw-r--r--compiler/GHC/Parser/Lexer.x4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Parser/Lexer.x b/compiler/GHC/Parser/Lexer.x
index 588d6692a9..7bcff45ed8 100644
--- a/compiler/GHC/Parser/Lexer.x
+++ b/compiler/GHC/Parser/Lexer.x
@@ -756,7 +756,7 @@ data Token
| ITdependency
| ITrequires
- -- Pragmas, see note [Pragma source text] in "GHC.Types.Basic"
+ -- Pragmas, see Note [Pragma source text] in "GHC.Types.Basic"
| ITinline_prag SourceText InlineSpec RuleMatchInfo
| ITspec_prag SourceText -- SPECIALISE
| ITspec_inline_prag SourceText Bool -- SPECIALISE INLINE (or NOINLINE)
@@ -2379,7 +2379,7 @@ data PState = PState {
-- The next three are used to implement Annotations giving the
-- locations of 'noise' tokens in the source, so that users of
-- the GHC API can do source to source conversions.
- -- See note [exact print annotations] in GHC.Parser.Annotation
+ -- See Note [exact print annotations] in GHC.Parser.Annotation
eof_pos :: Strict.Maybe (Strict.Pair RealSrcSpan RealSrcSpan), -- pos, gap to prior token
header_comments :: Strict.Maybe [LEpaComment],
comment_q :: [LEpaComment],