Skip to content
GitLab
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
bad73fe5
Commit
bad73fe5
authored
Oct 31, 2000
by
simonmar
Browse files
[project @ 2000-10-31 11:16:30 by simonmar]
display unknown flags with a leading dash.
parent
671e6004
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/Main.hs
View file @
bad73fe5
{-# OPTIONS -W -fno-warn-incomplete-patterns #-}
-----------------------------------------------------------------------------
-- $Id: Main.hs,v 1.1
5
2000/10/31 11:1
3:29
simonmar Exp $
-- $Id: Main.hs,v 1.1
6
2000/10/31 11:1
6:30
simonmar Exp $
--
-- GHC Driver program
--
...
...
@@ -201,7 +201,7 @@ main =
writeIORef
v_InitDynFlags
init_dyn_flags
-- complain about any unknown flags
mapM
unknownFlagErr
[
f
|
(
'-'
:
f
)
<-
srcs
]
mapM
unknownFlagErr
[
f
|
f
@
(
'-'
:
_
)
<-
srcs
]
-- get the -v flag
verb
<-
readIORef
v_Verbose
...
...
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