Commit 032969f7 authored by hellertime's avatar hellertime Committed by Austin Seipp

Re-order preprocessor args to agree with User Guide (fixes #8602)

The section of the User Guide in reference is 4.12.4
Signed-off-by: default avatarAustin Seipp <>
parent d783f12d
......@@ -395,7 +395,7 @@ runPp :: DynFlags -> [Option] -> IO ()
runPp dflags args = do
let prog = pgm_F dflags
opts = map Option (getOpts dflags opt_F)
runSomething dflags "Haskell pre-processor" prog (opts ++ args)
runSomething dflags "Haskell pre-processor" prog (args ++ opts)
runCc :: DynFlags -> [Option] -> IO ()
runCc dflags args = do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment