[m-dev.] trivial diff: fix stray MR_Runtime references in MC++

Tyson Dowd trd at cs.mu.OZ.AU
Wed Jan 10 17:14:42 AEDT 2001


Hi,

I plan to commit this on the release branch too.

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


Estimated hours taken: 0.2

library/exception.m:
	Fix some stray MR_Runtime references in the foreign MC++ code.


Index: library/exception.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/exception.m,v
retrieving revision 1.38
diff -u -r1.38 exception.m
--- library/exception.m	2001/01/01 04:03:50	1.38
+++ library/exception.m	2001/01/10 06:09:47
@@ -910,22 +910,22 @@
 :- pragma foreign_code("MC++", 
 	builtin_catch(_Pred::pred(out) is det,
 		_Handler::in(handler), _T::out), [will_not_call_mercury], "
-	MR_Runtime::SORRY(""foreign code for this function"");
+	mercury::runtime::Errors::SORRY(""foreign code for this function"");
 ").
 :- pragma foreign_code("MC++", 
 	builtin_catch(_Pred::pred(out) is semidet,
 		_Handler::in(handler), _T::out), [will_not_call_mercury], "
-	MR_Runtime::SORRY(""foreign code for this function"");
+	mercury::runtime::Errors::SORRY(""foreign code for this function"");
 ").
 :- pragma foreign_code("MC++", 
 	builtin_catch(_Pred::pred(out) is cc_multi,
 		_Handler::in(handler), _T::out), [will_not_call_mercury], "
-	MR_Runtime::SORRY(""foreign code for this function"");
+	mercury::runtime::Errors::SORRY(""foreign code for this function"");
 ").
 :- pragma foreign_code("MC++", 
 	builtin_catch(_Pred::pred(out) is cc_nondet,
 		_Handler::in(handler), _T::out), [will_not_call_mercury], "
-	MR_Runtime::SORRY(""foreign code for this function"");
+	mercury::runtime::Errors::SORRY(""foreign code for this function"");
 ").
 :- pragma foreign_code("MC++", 
 	builtin_catch(_Pred::pred(out) is multi,
@@ -934,7 +934,7 @@
 	first_code(""),
 	retry_code(""),
 	common_code("
-		MR_Runtime::SORRY(""foreign code for this function"");
+		mercury::runtime::Errors::SORRY(""foreign code for this function"");
 	")
 ).
 :- pragma foreign_code("MC++", 
@@ -944,7 +944,7 @@
 	first_code(""),
 	retry_code(""),
 	common_code("
-		MR_Runtime::SORRY(""foreign code for this function"");
+		mercury::runtime::Errors::SORRY(""foreign code for this function"");
 	")
 ).
 


-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list