[project @ 2001-04-30 10:51:18 by simonpj]
authorsimonpj <unknown>
Mon, 30 Apr 2001 10:51:19 +0000 (10:51 +0000)
committersimonpj <unknown>
Mon, 30 Apr 2001 10:51:19 +0000 (10:51 +0000)
commite7b69c553c58133ddbdc756bec03a43d35b0be5e
treea61450f92dd3d1c98325d8f5756cfc82729fc1a4
parent55d04fc7a6fbd58358f284bd84648dad09046f60
[project @ 2001-04-30 10:51:18 by simonpj]
-----------------------------
Better filtering for warnings
-----------------------------

* Add Opt_WarnMisc, to enable warnings not otherwise covered by Opt_Warn*
  in the renamer

* Add RnMonad.ifOptRn :: DynFlag -> RnM d a -> RnM d ()
  and use it many places instead of the clumsy direct code
ghc/compiler/main/CmdLineOpts.lhs
ghc/compiler/rename/Rename.lhs
ghc/compiler/rename/RnBinds.lhs
ghc/compiler/rename/RnEnv.lhs
ghc/compiler/rename/RnMonad.lhs
ghc/compiler/rename/RnNames.lhs
ghc/compiler/rename/RnSource.lhs