X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fmain%2FStaticFlags.hs;h=eddc9cad4cd0faec50751eeab28bad96bece89e1;hb=d1941af03f22f52cbd806f97641243f160fbc99b;hp=049b61fedb6e0fe7ce3c09daf1de7b1c8cd7ba84;hpb=140fb024a9f585c4f1d75ca4bd6fe37a97bc2a4f;p=ghc-hetmet.git diff --git a/compiler/main/StaticFlags.hs b/compiler/main/StaticFlags.hs index 049b61f..eddc9ca 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.