[Git][ghc/ghc][wip/az/ghc-cpp] Prepare for processing include files
Alan Zimmerman (@alanz)
gitlab at gitlab.haskell.org
Tue Oct 3 20:13:19 UTC 2023
Alan Zimmerman pushed to branch wip/az/ghc-cpp at Glasgow Haskell Compiler / GHC
Commits:
a93ee0fd by Alan Zimmerman at 2023-10-03T20:17:02+01:00
Prepare for processing include files
- - - - -
2 changed files:
- compiler/GHC/Cmm/Lexer.x
- compiler/GHC/Parser/Lexer.x
Changes:
=====================================
compiler/GHC/Cmm/Lexer.x
=====================================
@@ -19,7 +19,7 @@ import GHC.Prelude
import GHC.Cmm.Expr
-import GHC.Parser.Lexer
+import GHC.Parser.Lexer hiding (getInput, setInput)
import GHC.Cmm.Parser.Monad
import GHC.Types.SrcLoc
import GHC.Types.Unique.FM
=====================================
compiler/GHC/Parser/Lexer.x
=====================================
@@ -81,7 +81,8 @@ module GHC.Parser.Lexer (
adjustChar,
addPsMessage,
-- * for integration with the preprocessor
- queueIgnoredToken
+ queueIgnoredToken,
+ getInput, setInput
) where
import GHC.Prelude
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a93ee0fd02f6229565954e28ff336805881950e0
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a93ee0fd02f6229565954e28ff336805881950e0
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/20231003/62e29ea3/attachment-0001.html>
More information about the ghc-commits
mailing list