[m-rev.] trivial diff: Fixed syntax error in mercury_debug.c

Michael Wybrow mjwybrow at students.cs.mu.oz.au
Wed Dec 5 16:33:32 AEDT 2001


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

Estimated hours taken: 0.1

Bug fix.

mercury/runtime/mercury_debug.c:
	Fixed a single line of code where a statement was incorrectly 
	followed by ','rather than ';'.



Index: mercury/runtime/mercury_debug.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_debug.c,v
retrieving revision 1.7
diff -u -r1.7 mercury_debug.c
--- mercury/runtime/mercury_debug.c	4 Dec 2001 00:44:32 -0000	1.7
+++ mercury/runtime/mercury_debug.c	5 Dec 2001 05:10:39 -0000
@@ -438,7 +438,7 @@
 	fprintf(fp, "heap %ld", (long) s);
 #else
 	fprintf(fp, "heap %3ld",
-		(long) (MR_Integer) (s - MR_ENGINE(MR_eng_heap_zone)->min)),
+		(long) (MR_Integer) (s - MR_ENGINE(MR_eng_heap_zone)->min));
 #endif
 
 	if (MR_print_raw_addrs) {

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