Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
ee435a27
Commit
ee435a27
authored
Feb 26, 2012
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change -X flags into LANGUAGE pragmas
parent
bb6657df
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
10 deletions
+14
-10
compiler/cmm/CmmBuildInfoTables.hs
compiler/cmm/CmmBuildInfoTables.hs
+3
-3
compiler/cmm/CmmPipeline.hs
compiler/cmm/CmmPipeline.hs
+2
-2
compiler/cmm/CmmStackLayout.hs
compiler/cmm/CmmStackLayout.hs
+3
-3
compiler/typecheck/TcGenDeriv.lhs
compiler/typecheck/TcGenDeriv.lhs
+3
-1
compiler/utils/UniqFM.lhs
compiler/utils/UniqFM.lhs
+3
-1
No files found.
compiler/cmm/CmmBuildInfoTables.hs
View file @
ee435a27
{-#
OPTIONS_GHC -X
GADTs
-X
NoMonoLocalBinds #-}
{-#
LANGUAGE
GADTs
,
NoMonoLocalBinds #-}
{-# OPTIONS -fno-warn-tabs #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and
...
...
@@ -7,8 +7,8 @@
-- for details
-- Norman likes local bindings
-- If this module lives on I'd like to get rid of the
-X
NoMonoLocalBinds
--
flag
in due course
-- If this module lives on I'd like to get rid of the NoMonoLocalBinds
--
extension
in due course
-- Todo: remove -fno-warn-warnings-deprecations
{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
...
...
compiler/cmm/CmmPipeline.hs
View file @
ee435a27
{-#
OPTIONS_GHC -X
NoMonoLocalBinds #-}
{-#
LANGUAGE
NoMonoLocalBinds #-}
-- Norman likes local bindings
-- If this module lives on I'd like to get rid of this
flag
in due course
-- If this module lives on I'd like to get rid of this
extension
in due course
module
CmmPipeline
(
-- | Converts C-- with an implicit stack and native C-- calls into
...
...
compiler/cmm/CmmStackLayout.hs
View file @
ee435a27
{-#
OPTIONS_GHC -X
GADTs
-X
NoMonoLocalBinds #-}
{-#
LANGUAGE
GADTs
,
NoMonoLocalBinds #-}
-- Norman likes local bindings
-- If this module lives on I'd like to get rid of the
-X
NoMonoLocalBinds
--
flag
in due course
-- If this module lives on I'd like to get rid of the NoMonoLocalBinds
--
extension
in due course
{-# OPTIONS -fno-warn-tabs #-}
-- The above warning supression flag is a temporary kludge.
...
...
compiler/typecheck/TcGenDeriv.lhs
View file @
ee435a27
...
...
@@ -11,7 +11,9 @@ This module is nominally ``subordinate'' to @TcDeriv@, which is the
This is where we do all the grimy bindings' generation.
\begin{code}
{-# OPTIONS -fno-warn-tabs -XScopedTypeVariables #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# OPTIONS -fno-warn-tabs #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and
-- detab the module (please do the detabbing in a separate patch). See
...
...
compiler/utils/UniqFM.lhs
View file @
ee435a27
...
...
@@ -20,7 +20,9 @@ and ``addToUFM\_C'' and ``Data.IntMap.insertWith'' differ in the order
of arguments of combining function.
\begin{code}
{-# OPTIONS -fno-warn-tabs -XGeneralizedNewtypeDeriving #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# OPTIONS -fno-warn-tabs #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and
-- detab the module (please do the detabbing in a separate patch). See
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment