[m-rev.] diff: fix documentation rot
Zoltan Somogyi
zs at cs.mu.OZ.AU
Wed Dec 19 16:00:40 AEDT 2001
runtime/mercury_trace_base.c:
Fix some documentation rot.
Zoltan.
cvs diff: Diffing .
Index: mercury_trace_base.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_trace_base.c,v
retrieving revision 1.36
diff -u -b -r1.36 mercury_trace_base.c
--- mercury_trace_base.c 4 Dec 2001 00:44:35 -0000 1.36
+++ mercury_trace_base.c 7 Dec 2001 07:27:59 -0000
@@ -54,14 +54,14 @@
/*
** MR_trace_call_seqno counts distinct calls. The prologue of every
** procedure assigns the current value of this counter as the sequence number
-** of that invocation and increments the counter. This is the only way that
-** MR_trace_call_seqno is modified.
+** of that invocation and increments the counter. This and retry are the only
+** ways that MR_trace_call_seqno is modified.
**
** MR_trace_call_depth records the current depth of the call tree. The prologue
** of every procedure assigns the current value of this variable plus one
** as the depth of that invocation. Just before making a call, the caller
** will set MR_trace_call_depth to its own remembered depth value.
-** These are the only ways in which MR_trace_call_depth is modified.
+** These and retry are the only ways in which MR_trace_call_depth is modified.
**
** Although neither MR_trace_call_seqno nor MR_trace_call_depth are used
** directly in this module, the seqno and depth arguments of MR_trace
@@ -74,9 +74,9 @@
/*
** MR_trace_event_number is a simple counter of events. This is used in
-** two places: here, for display to the user and for skipping a given number
-** of events, and when printing an abort message, so that the programmer
-** can zero in on the source of the problem more quickly.
+** two places: in the debugger for display to the user and for skipping
+** a given number of events, and when printing an abort message, so that
+** the programmer can zero in on the source of the problem more quickly.
*/
MR_Unsigned MR_trace_event_number = 0;
cvs diff: Diffing GETOPT
cvs diff: Diffing machdeps
--------------------------------------------------------------------------
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