Diff: Bug fix in mercury_trace.h

Andrew Bromage bromage at hydra.cs.mu.oz.au
Tue Oct 7 16:48:31 AEST 1997


G'day all.

Already committed, no need for review.

Cheers,
Andrew Bromage


Estimated hours taken: 0.5

runtime/mercury_trace.h:
	Fixed a small typo --- one left-out semicolon which caused a
	parse error when compiling some programs with trace ensbled.


Index: mercury_trace.h
===================================================================
RCS file: /home/staff/zs/imp/mercury/runtime/mercury_trace.h,v
retrieving revision 1.1
diff -u -r1.1 mercury_trace.h
--- mercury_trace.h	1997/10/03 04:56:33	1.1
+++ mercury_trace.h	1997/10/07 06:00:28
@@ -18,7 +18,7 @@
 
 #define	MR_trace_incr_seq()	(++MR_trace_call_seqno)
 #define	MR_trace_incr_depth()	(++MR_trace_call_depth)
-#define	MR_trace_reset_depth(d)	do { MR_trace_call_depth = (d) } while (0)
+#define	MR_trace_reset_depth(d)	do { MR_trace_call_depth = (d); } while (0)
 
 extern	int	MR_trace_call_seqno;
 extern	int	MR_trace_call_depth;




More information about the developers mailing list