X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fmain%2FStaticFlags.hs;h=732224b9f90e57a3a2ff50653539bcd3e084cf12;hp=e080cd82260476352581bb0b02a6922d29e949c3;hb=dc2575083cbc8680e15f4eee8956a9487fc56ddc;hpb=8fb6e595c16568c4793048bd9671515bd00f0946 diff --git a/compiler/main/StaticFlags.hs b/compiler/main/StaticFlags.hs index e080cd8..732224b 100644 --- a/compiler/main/StaticFlags.hs +++ b/compiler/main/StaticFlags.hs @@ -167,7 +167,7 @@ try_read sw str = case reads str of ((x,_):_) -> x -- Be forgiving: ignore trailing goop, and alternative parses [] -> ghcError (UsageError ("Malformed argument " ++ str ++ " for flag " ++ sw)) - -- ToDo: hack alert. We should really parse the arugments + -- ToDo: hack alert. We should really parse the arguments -- and announce errors in a more civilised way.