Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
b065ad65
Commit
b065ad65
authored
Jun 14, 2008
by
Ian Lynagh
Browse files
Tweak the deprecated flags warning
parent
5b87f4c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/main/CmdLineParser.hs
View file @
b065ad65
...
...
@@ -60,7 +60,7 @@ processArgs spec args = process spec args [] [] []
Just
(
rest
,
action
,
deprecated
)
->
let
warns'
=
case
deprecated
of
Deprecated
warning
->
(
dash_arg
++
" is deprecated: "
++
warning
)
:
warns
(
"Warning: "
++
dash_arg
++
" is deprecated: "
++
warning
)
:
warns
Supported
->
warns
in
case
processOneArg
action
rest
arg
args
of
Left
err
->
process
spec
args
spare
(
err
:
errs
)
warns'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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