[Git][ghc/ghc][master] Parser: remove non-ASCII characters from Parser.y
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Sun Oct 20 20:36:55 UTC 2024
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
4bc7f9c8 by Luite Stegeman at 2024-10-20T16:36:15-04:00
Parser: remove non-ASCII characters from Parser.y
Non-ASCII characters in the source causes a problem with the default
Haskell Language Server setup in VSCode. Two characters seems to have
been left in by accident.
Workaround for #25396
- - - - -
1 changed file:
- compiler/GHC/Parser.y
Changes:
=====================================
compiler/GHC/Parser.y
=====================================
@@ -2160,11 +2160,11 @@ fspec :: { Located ([AddEpAnn]
-----------------------------------------------------------------------------
-- Type signatures
-opt_sig :: { Maybe (EpUniToken "::" "∷", LHsType GhcPs) }
+opt_sig :: { Maybe (EpUniToken "::" "\8759", LHsType GhcPs) }
: {- empty -} { Nothing }
| '::' ctype { Just (epUniTok $1, $2) }
-opt_tyconsig :: { (Maybe (EpUniToken "::" "∷"), Maybe (LocatedN RdrName)) }
+opt_tyconsig :: { (Maybe (EpUniToken "::" "\8759"), Maybe (LocatedN RdrName)) }
: {- empty -} { (Nothing, Nothing) }
| '::' gtycon { (Just (epUniTok $1), Just $2) }
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4bc7f9c860f8d7f662947e55068467a3cf8c4d1c
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4bc7f9c860f8d7f662947e55068467a3cf8c4d1c
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/20241020/587efb8a/attachment-0001.html>
More information about the ghc-commits
mailing list