[m-rev.] diff: another MC++ to C# fix

Peter Ross pro at missioncriticalit.com
Tue Dec 2 08:53:30 AEDT 2003


Hi,


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


Estimated hours taken: 0.25
Branches: main

compiler/mlds_to_il.m:
	External references are no longer associated with the MC++
	instead they are associated with the C# file, and it is still
	hacky!

Index: compiler/mlds_to_il.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/mlds_to_il.m,v
retrieving revision 1.136
diff -u -r1.136 mlds_to_il.m
--- compiler/mlds_to_il.m	20 Nov 2003 11:35:41 -0000	1.136
+++ compiler/mlds_to_il.m	1 Dec 2003 21:43:40 -0000
@@ -1021,11 +1021,11 @@
 	;
 		{ MaybeStatement = external },
 
-		% XXX The external reference must currently reside in
-		% MC++ file associated with this file.  This is very hackish.
+		% XXX The external reference must currently reside in the
+		% C# file associated with this file.  This is very hackish.
 		ForeignLangs =^ file_foreign_langs,
 		^ file_foreign_langs :=
-			set__insert(ForeignLangs, managed_cplusplus),
+			set__insert(ForeignLangs, csharp),
 
 		{ mangle_dataname_module(no, ModuleName, NewModuleName) },
 		{ ClassName = mlds_module_name_to_class_name(NewModuleName) },


-- 
Peter Ross		
Software Engineer                                (Work)   +32 2 757 10 15
Mission Critical                                 (Mobile) +32 485 482 559
--------------------------------------------------------------------------
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