Commit a3a88e4d authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Change "OPTIONS" to "OPTIONS_GHC" in error messages; fixes #4327

parent fb11ede0
......@@ -256,7 +256,7 @@ checkProcessArgsResult flags
liftIO $ throwIO $ mkSrcErr $ listToBag $ map mkMsg flags
where mkMsg (L loc flag)
= mkPlainErrMsg loc $
(text "unknown flag in {-# OPTIONS #-} pragma:" <+>
(text "unknown flag in {-# OPTIONS_GHC #-} pragma:" <+>
text flag)
-----------------------------------------------------------------------------
......@@ -295,5 +295,5 @@ optionsErrorMsgs unhandled_flags flags_lines _filename
L l f' <- flags_lines, f == f' ]
mkMsg (L flagSpan flag) =
ErrUtils.mkPlainErrMsg flagSpan $
text "unknown flag in {-# OPTIONS #-} pragma:" <+> text flag
text "unknown flag in {-# OPTIONS_GHC #-} pragma:" <+> text flag
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment