[m-rev.] diff: fix runtime in high-level C grades

Julien Fischer juliensf at csse.unimelb.edu.au
Sun Oct 15 02:58:55 AEST 2006


Estimated hours taken: 3
Branches: main

runtime/mercury_heap.h:
 	Fix a typo that breaks the high-level C grades.

Julien.

Index: runtime/mercury_heap.h
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/runtime/mercury_heap.h,v
retrieving revision 1.37
diff -u -r1.37 mercury_heap.h
--- runtime/mercury_heap.h	11 Oct 2006 22:42:09 -0000	1.37
+++ runtime/mercury_heap.h	14 Oct 2006 16:52:11 -0000
@@ -494,7 +494,7 @@
  {
      MR_Word *p;

-    p == (MR_Word *) MR_new_object(MR_Word, 2 * sizeof(MR_Word), "create2");
+    p = (MR_Word *) MR_new_object(MR_Word, 2 * sizeof(MR_Word), "create2");
      p[0] = w1;
      p[1] = w2;
      return (MR_Word) p;

--------------------------------------------------------------------------
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