Add Outputable.blankLine and use it
[ghc-hetmet.git] / compiler / main / StaticFlags.hs
index 8035211..3bcf28c 100644 (file)
@@ -22,6 +22,7 @@ module StaticFlags (
        -- Output style options
        opt_PprUserLength,
        opt_SuppressUniques,
+        opt_SuppressCoercions,
        opt_PprStyle_Debug,
         opt_NoDebugOutput,
 
@@ -182,6 +183,8 @@ opt_IgnoreDotGhci           = lookUp (fsLit "-ignore-dot-ghci")
 -- debugging opts
 opt_SuppressUniques :: Bool
 opt_SuppressUniques            = lookUp  (fsLit "-dsuppress-uniques")
+opt_SuppressCoercions :: Bool
+opt_SuppressCoercions           = lookUp  (fsLit "-dsuppress-coercions")
 opt_PprStyle_Debug  :: Bool
 opt_PprStyle_Debug             = lookUp  (fsLit "-dppr-debug")
 opt_PprUserLength   :: Int
@@ -333,6 +336,11 @@ allowed_combination way = and [ x `allowedWith` y
        _ `allowedWith` WayDyn                  = True
        WayDyn `allowedWith` _                  = True
 
+       -- ticky is (now) allowed with everything
+       -- Indeed, ticky should no longer be a 'way' at all
+       _ `allowedWith` WayTicky                = True
+       WayTicky `allowedWith` _                = True
+
        -- debug is allowed with everything
        _ `allowedWith` WayDebug                = True
        WayDebug `allowedWith` _                = True