[commit: packages/base] master: Add a few missing `{-# LANGUAGE CPP #-}`s (7d2297a)
git at git.haskell.org
git at git.haskell.org
Sat Sep 28 13:10:45 CEST 2013
Repository : ssh://git@git.haskell.org/base
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/7d2297a11da28eada69c9e82e909d9109c119d8e/base
>---------------------------------------------------------------
commit 7d2297a11da28eada69c9e82e909d9109c119d8e
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Sat Sep 28 11:08:57 2013 +0200
Add a few missing `{-# LANGUAGE CPP #-}`s
Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>
>---------------------------------------------------------------
7d2297a11da28eada69c9e82e909d9109c119d8e
GHC/Enum.lhs | 2 +-
GHC/Fingerprint.hs | 3 ++-
GHC/Generics.hs | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/GHC/Enum.lhs b/GHC/Enum.lhs
index 9a94009..332d205 100644
--- a/GHC/Enum.lhs
+++ b/GHC/Enum.lhs
@@ -1,6 +1,6 @@
\begin{code}
{-# LANGUAGE Trustworthy #-}
-{-# LANGUAGE NoImplicitPrelude, BangPatterns, MagicHash #-}
+{-# LANGUAGE CPP, NoImplicitPrelude, BangPatterns, MagicHash #-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
diff --git a/GHC/Fingerprint.hs b/GHC/Fingerprint.hs
index 1f712f5..b500ad5 100644
--- a/GHC/Fingerprint.hs
+++ b/GHC/Fingerprint.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE Trustworthy #-}
-{-# LANGUAGE NoImplicitPrelude
+{-# LANGUAGE CPP
+ , NoImplicitPrelude
, BangPatterns
, ForeignFunctionInterface
, EmptyDataDecls
diff --git a/GHC/Generics.hs b/GHC/Generics.hs
index 1d71444..e3fddf4 100644
--- a/GHC/Generics.hs
+++ b/GHC/Generics.hs
@@ -1,4 +1,5 @@
{-# LANGUAGE Trustworthy #-}
+{-# LANGUAGE CPP #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE EmptyDataDecls #-}
{-# LANGUAGE TypeSynonymInstances #-}
More information about the ghc-commits
mailing list