[m-rev.] trivial diff: Fix an incorrect error message.

Paul Bone pbone at csse.unimelb.edu.au
Thu Jan 28 09:57:36 AEDT 2010


Fix an incorrect error message.

The --implicit-parallelism option requires the --feedback-file option.  An
error message used to enforce this incorrectly referred to the --feedback-file
option as '--feedback'.  This change fixes this error message.

compiler/handle_options.m:
    As above.

Index: compiler/handle_options.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/handle_options.m,v
retrieving revision 1.345
diff -u -p -b -r1.345 handle_options.m
--- compiler/handle_options.m	10 Jan 2010 04:53:38 -0000	1.345
+++ compiler/handle_options.m	27 Jan 2010 22:29:34 -0000
@@ -581,7 +581,8 @@ convert_options_to_globals(OptionTable0,
             (
                 FeedbackFile = ""
             ->
-                add_error("'--implicit-parallelism' requires '--feedback'", 
+                add_error(
+                    "'--implicit-parallelism' requires '--feedback-file'", 
                     !Errors)
             ;
                 true
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20100128/fb90bb8b/attachment.sig>


More information about the reviews mailing list