Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
781145e5
Commit
781145e5
authored
Oct 01, 2008
by
Clemens Fruhwirth
Browse files
use ghcError for error in command line
parent
7129b3c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/main/DynFlags.hs
View file @
781145e5
...
...
@@ -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
)
}
(
_
,
_
)
->
e
rror
"Unknown dynlib loader
"
_
->
ghcError
(
CmdLineE
rror
(
"Unknown dynlib loader
: "
++
f
))
setDumpPrefixForce
f
d
=
d
{
dumpPrefixForce
=
f
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment