[commit: ghc] master: Remove redundant/obsolete CPP usage (a2f004b)
git at git.haskell.org
git at git.haskell.org
Tue Sep 19 06:37:50 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a2f004b68ad4d69fd02be419f7517570baa28a58/ghc
>---------------------------------------------------------------
commit a2f004b68ad4d69fd02be419f7517570baa28a58
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Tue Sep 19 08:11:50 2017 +0200
Remove redundant/obsolete CPP usage
This `#if 0`/`#endif` block has been around for over 10 years and
it became truly redundant in 36104d7a0d66df895c8275e3aa7cfe35a322ff04
>---------------------------------------------------------------
a2f004b68ad4d69fd02be419f7517570baa28a58
compiler/main/GHC.hs | 2 --
1 file changed, 2 deletions(-)
diff --git a/compiler/main/GHC.hs b/compiler/main/GHC.hs
index e02f6b8..9ed8aaa 100644
--- a/compiler/main/GHC.hs
+++ b/compiler/main/GHC.hs
@@ -1302,7 +1302,6 @@ pprParenSymName a = parenSymOcc (getOccName a) (ppr (getName a))
-- ----------------------------------------------------------------------------
-#if 0
-- ToDo:
-- - Data and Typeable instances for HsSyn.
@@ -1316,7 +1315,6 @@ pprParenSymName a = parenSymOcc (getOccName a) (ppr (getName a))
-- :browse will use either lm_toplev or inspect lm_interface, depending
-- on whether the module is interpreted or not.
-#endif
-- Extract the filename, stringbuffer content and dynflags associed to a module
--
More information about the ghc-commits
mailing list