projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb54634
)
Fix warnings in runghc
author
Ian Lynagh
<igloo@earth.li>
Thu, 21 Aug 2008 17:30:51 +0000
(17:30 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 21 Aug 2008 17:30:51 +0000
(17:30 +0000)
utils/runghc/runghc.hs
patch
|
blob
|
history
diff --git
a/utils/runghc/runghc.hs
b/utils/runghc/runghc.hs
index
911d0f8
..
decbdcd
100644
(file)
--- a/
utils/runghc/runghc.hs
+++ b/
utils/runghc/runghc.hs
@@
-57,8
+57,8
@@
getGhcLoc args = case args of
('-' : 'f' : ghc) : args' -> f ghc args'
-- If you need the first GHC flag to be a -f flag then
-- you can pass -- first
- "--" : args -> (Nothing, args)
- args -> (Nothing, args)
+ "--" : args' -> (Nothing, args')
+ _ -> (Nothing, args)
where f ghc args' = -- If there is another -f flag later on then
-- that overrules the one that we've already
-- found