[Git][ghc/ghc][wip/T18599] update comments

Shayne Fletcher gitlab at gitlab.haskell.org
Wed Oct 14 01:58:45 UTC 2020



Shayne Fletcher pushed to branch wip/T18599 at Glasgow Haskell Compiler / GHC


Commits:
49ce6d8e by Shayne Fletcher at 2020-10-13T21:58:32-04:00
update comments

- - - - -


1 changed file:

- compiler/GHC/Parser.y


Changes:

=====================================
compiler/GHC/Parser.y
=====================================
@@ -2616,7 +2616,7 @@ fexp    :: { ECP }
                                         ams (sLL $1 $> $ HsStatic noExtField $2)
                                             [mj AnnStatic $1] }
 
-        -- See Note [Whitespace-sensitive operator parsing] in Lexer.x
+        -- See Note [Whitespace-sensitive operator parsing] in GHC.Parser.Lexer
         | fexp TIGHT_INFIX_PROJ field
             {% runPV (unECP $1) >>= \ $1 ->
                -- Suppose lhs is an application term e.g. 'f a'
@@ -2806,7 +2806,7 @@ aexp2   :: { ECP }
 
 projection :: { LHsExpr GhcPs }
 projection
-        -- See Note [Whitespace-sensitive operator parsing] in Lexer.x
+        -- See Note [Whitespace-sensitive operator parsing] in GHC.Parsing.Lexer
         : projection TIGHT_INFIX_PROJ field { mkProj (Just $1) $3 }
         | PREFIX_PROJ field                 { mkProj Nothing   $2 }
 
@@ -3254,14 +3254,14 @@ fbind   :: { forall b. DisambECP b => PV (Fbind b) }
                         -- In the punning case, use a place-holder
                         -- The renamer fills in the final value
 
-        -- See Note [Whitespace-sensitive operator parsing] in Lexer.x
+        -- See Note [Whitespace-sensitive operator parsing] in GHC.Parser.Lexer
         | field TIGHT_INFIX_PROJ fieldToUpdate '=' texp
                         { do
                             $5 <- unECP $5
                             fmap Pbind $ mkHsFieldUpdaterPV (comb2 $1 $5) ($1 : reverse $3) $5
                         }
 
-        -- See Note [Whitespace-sensitive operator parsing] in Lexer.x
+        -- See Note [Whitespace-sensitive operator parsing] in GHC.Parser.Lexer
         | field TIGHT_INFIX_PROJ fieldToUpdate
                         { do
                             let top = $1



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/49ce6d8e7c84715cf6e2b3dfbe63f5e737e51f31

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/49ce6d8e7c84715cf6e2b3dfbe63f5e737e51f31
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201013/21761c29/attachment-0001.html>


More information about the ghc-commits mailing list