[m-rev.] trivial diff: fix syntax error in mercury_type_info.h

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Mar 21 08:01:15 AEDT 2001


Estimated hours taken: 0.25
Branches: main

runtime/mercury_type_info.h:
	Fix a bug in dgj's recent change: string literals here
	should use "..." not ""..."".

Workspace: /mnt/murlibobo/home/mercury0/public/test_mercury/test_dirs/murlibobo/mercury
Index: runtime/mercury_type_info.h
===================================================================
RCS file: /home/staff/zs/imp/mercury/runtime/mercury_type_info.h,v
retrieving revision 1.67
diff -u -d -r1.67 mercury_type_info.h
--- runtime/mercury_type_info.h	2001/03/18 23:10:13	1.67
+++ runtime/mercury_type_info.h	2001/03/20 20:58:16
@@ -436,10 +436,10 @@
     } while (0)
 
 /* Allocate a univ on the heap */
-#define MR_new_univ_on_hp(univ, typeinfo, value)                   \
+#define MR_new_univ_on_hp(univ, typeinfo, value)                    \
     do {                                                            \
-        MR_tag_incr_hp_msg((univ), MR_UNIV_TAG,           \
-                        2, MR_PROC_LABEL, ""std_util:univ/0"");     \
+        MR_tag_incr_hp_msg((univ), MR_UNIV_TAG,           	    \
+                        2, MR_PROC_LABEL, "std_util:univ/0");       \
         MR_define_univ_fields((univ), (typeinfo), (value));         \
     } while (0)
 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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