
Alan Zimmerman pushed to branch wip/az/ghc-cpp at Glasgow Haskell Compiler / GHC Commits: cf5f9dc5 by Alan Zimmerman at 2025-06-16T20:37:37+01:00 Some cleanups - - - - - 2 changed files: - compiler/GHC/Parser/PreProcess.hs - compiler/GHC/Parser/PreProcess/ParserM.hs Changes: ===================================== compiler/GHC/Parser/PreProcess.hs ===================================== @@ -294,8 +294,6 @@ processCpp loc s = do acceptStateChange ar Right CppDumpState -> do return () - -- accepting <- getAccepting - -- return (trace ("processCpp:" ++ show (accepting,directive)) Nothing) return Nothing acceptStateChange :: AcceptingResult -> PP () ===================================== compiler/GHC/Parser/PreProcess/ParserM.hs ===================================== @@ -43,8 +43,6 @@ import Data.Word (Word8) -- Parser Monad newtype ParserM a = ParserM {unParserM :: AlexInput -> St -> Either String (AlexInput, St, a)} --- newtype P a = P { unP :: PState -> ParseResult a } - instance Functor ParserM where fmap = liftM View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/cf5f9dc51b382f1c54059e4194e1f9ac... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/cf5f9dc51b382f1c54059e4194e1f9ac... You're receiving this email because of your account on gitlab.haskell.org.