diff: std_util.m bug fix for non-gc grades

Fergus Henderson fjh at cs.mu.oz.au
Tue May 27 01:38:43 AEST 1997


Hi Tyson,

You missed one ;-)

library/std_util.m:
	In the C code for the non-boehm-gc version of solutions,
	use the base_type_info for list:list/1, instead of
	mercury_builtin:list/1, since list/1 is now defined in list.m.

Index: std_util.m
===================================================================
RCS file: /home/staff/zs/imp/mercury/library/std_util.m,v
retrieving revision 1.89
diff -u -r1.89 std_util.m
--- std_util.m	1997/05/23 10:54:31	1.89
+++ std_util.m	1997/05/26 10:35:25
@@ -399,7 +399,7 @@
 #include ""deep_copy.h""
 
 MR_DECLARE_STRUCT(
-	mercury_data_mercury_builtin__base_type_info_list_1);
+	mercury_data_list__base_type_info_list_1);
 
 Declare_entry(do_call_nondet_closure);
 
@@ -551,7 +551,7 @@
 	  Word solutions_copy;
 	 
 	  new_type_info[0] = (Word *) (Word)
-	  	&mercury_data_mercury_builtin__base_type_info_list_1;
+	  	&mercury_data_list__base_type_info_list_1;
 	  new_type_info[1] = (Word *) type_info_fv;
 
 	  /*

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



More information about the developers mailing list