Commit 781145e5 authored by Clemens Fruhwirth's avatar Clemens Fruhwirth

use ghcError for error in command line

parent 7129b3c1
......@@ -711,7 +711,7 @@ parseDynLibLoaderMode f d =
("wrapped", "") -> d{ dynLibLoader = Wrapped Nothing }
("wrapped:", "hard") -> d{ dynLibLoader = Wrapped Nothing }
("wrapped:", flex) -> d{ dynLibLoader = Wrapped (Just flex) }
(_,_) -> error "Unknown dynlib loader"
_ -> ghcError (CmdLineError ("Unknown dynlib loader: " ++ f))
setDumpPrefixForce f d = d { dumpPrefixForce = f}
......
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