aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-11-13 09:49:46 +0000
committersimonmar <unknown>2002-11-13 09:49:46 +0000
commit12d026195100c3a1da22e1f41f1b5bc9ac04b1b0 (patch)
tree4736063de192f01a8f5ca91c654c1ed84e316578 /src/Main.hs
parentf968661ce00eb413a323570c5aac4f6218d93df0 (diff)
[haddock @ 2002-11-13 09:49:46 by simonmar]
Small bugfix in the --read-interface option parsing from Brett Letner.
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 4de10e3e..cc1b76f6 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -208,7 +208,7 @@ parseIfaceOption :: String -> (FilePath,FilePath)
parseIfaceOption s =
case break (==',') s of
(fpath,',':file) -> (fpath,file)
- (_, file) -> ("", file)
+ (file, _) -> ("", file)
readIface :: FilePath -> IO [(Module,Interface)]
readIface filename = do