[m-rev.] diff: fix compilation error in compiler

Julien Fischer juliensf at csse.unimelb.edu.au
Sun Jul 15 00:13:16 AEST 2007


Estimated hours taken: 0
Branches: main

Fix a problem that broke the compiler.

compiler/mlds_to_managed.m:
 	Call predlabel_to_csharp_id rather than the now
 	non-existent predlabel_to_managed_id.

Julien.

Index: mlds_to_managed.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/compiler/mlds_to_managed.m,v
retrieving revision 1.42
diff -u -r1.42 mlds_to_managed.m
--- mlds_to_managed.m	14 Jul 2007 02:32:46 -0000	1.42
+++ mlds_to_managed.m	14 Jul 2007 14:07:05 -0000
@@ -248,7 +248,7 @@
              sorry(this_file, "multiple return values")
          ),

-        predlabel_to_managed_id(PredLabel, ProcId, MaybeSeqNum, Id),
+        predlabel_to_csharp_id(PredLabel, ProcId, MaybeSeqNum, Id),
          io.write_string("public static ", !IO),
          write_il_ret_type_as_foreign_type(ReturnType, !IO),


--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list