[m-rev.] trivial diff: s/foreign_code/foreign_proc in an error message

Tyson Dowd trd at miscrit.be
Tue Aug 21 01:09:09 AEST 2001


Hi,


===================================================================


Estimated hours taken: 0.1
Branches: main

compiler/make_hlds.m:
	Fix an error message.


Index: compiler/make_hlds.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/make_hlds.m,v
retrieving revision 1.380
diff -u -r1.380 make_hlds.m
--- compiler/make_hlds.m	2001/08/11 14:09:41	1.380
+++ compiler/make_hlds.m	2001/08/20 15:12:51
@@ -4177,7 +4177,7 @@
 	->
 		{ module_info_incr_errors(ModuleInfo1, ModuleInfo) },
 		prog_out__write_context(Context),
-		io__write_string("Error: `:- pragma foreign_code' (or `pragma c_code')\n"),
+		io__write_string("Error: `:- pragma foreign_proc' (or `pragma c_code')\n"),
 		prog_out__write_context(Context),
 		io__write_string("declaration for imported "),
 		hlds_out__write_simple_call_id(PredOrFunc, PredName/Arity),

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list