Make dumpIfSet_dyn_or use dumpSDoc
authorIan Lynagh <igloo@earth.li>
Sun, 5 Jun 2011 13:09:53 +0000 (14:09 +0100)
committerIan Lynagh <igloo@earth.li>
Sun, 5 Jun 2011 16:32:06 +0000 (17:32 +0100)
commit86add45dbfb6f962b65e371143dd467ae783f9e7
tree56c30ccd064c4090a4197e7d9bd798b70f6b2ffe
parenta853ec4c2033826e6e94817d6cdf9564dc17fb3e
Make dumpIfSet_dyn_or use dumpSDoc

This means that for example
    ghc -ddump-simpl -ddump-to-file ...
now puts the simpl output in a file, rather htan sending it to stdout.
compiler/main/ErrUtils.lhs