diff options
author | simonpj@microsoft.com <unknown> | 2011-01-28 12:07:19 +0000 |
---|---|---|
committer | simonpj@microsoft.com <unknown> | 2011-01-28 12:07:19 +0000 |
commit | 32ba2853209b8914fd36947ccf57d34c009a9e47 (patch) | |
tree | 684ac65733ddbdffc48bd4f57e889e9d7f95a610 /libraries/base/codepages | |
parent | 4cc27e70f04c114b4e24e16cdb8c3e9ccf926ca2 (diff) | |
download | haskell-32ba2853209b8914fd36947ccf57d34c009a9e47.tar.gz |
Use explicit language extensions & remove extension fields from base.cabal
Add explicit {-# LANGUAGE xxx #-} pragmas to each module, that say
what extensions that module uses. This makes it clearer where
different extensions are used in the (large, variagated) base package.
Now base.cabal doesn't need any extensions field
Thanks to Bas van Dijk for doing all the work.
Diffstat (limited to 'libraries/base/codepages')
-rw-r--r-- | libraries/base/codepages/MakeTable.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/codepages/MakeTable.hs b/libraries/base/codepages/MakeTable.hs index 951274e8a4..e17380b538 100644 --- a/libraries/base/codepages/MakeTable.hs +++ b/libraries/base/codepages/MakeTable.hs @@ -200,7 +200,7 @@ compress n ms = runState (mapM lookupOrAdd chunks) (Map.empty, Map.empty) -- Static parts of the generated module. languageDirectives :: [String] -languageDirectives = ["{-# LANGUAGE MagicHash #-}"] +languageDirectives = ["{-# LANGUAGE CPP, MagicHash #-}"] firstComment :: [FilePath] -> [String] |