[m-rev.] trivial diff: bug fix for a recent change

Mark Anthony BROWN dougl at cs.mu.OZ.AU
Mon Apr 30 22:43:14 AEST 2001


Estimated hours taken: 0.1
Branches: main

Fix a bug in a recent change which caused compilation to fail when
the declarative debugger was not enabled.

trace/mercury_trace_declarative.h:
	Make this file conditional on MR_USE_DECLARATIVE_DEBUGGER being
	defined.

Index: trace/mercury_trace_declarative.h
===================================================================
RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_declarative.h,v
retrieving revision 1.12
diff -u -r1.12 mercury_trace_declarative.h
--- trace/mercury_trace_declarative.h	2001/04/26 18:44:13	1.12
+++ trace/mercury_trace_declarative.h	2001/04/30 12:33:50
@@ -11,6 +11,8 @@
 #include "mercury_trace.h"
 #include "mercury_trace_internal.h"
 
+#ifdef MR_USE_DECLARATIVE_DEBUGGER
+
 /*
 ** When in declarative debugging mode, the internal debugger calls
 ** MR_trace_decl_debug for each event.  
@@ -43,4 +45,5 @@
 #define MR_TRACE_STATUS_FAILED		(MR_Word) 1
 #define MR_TRACE_STATUS_UNDECIDED	(MR_Word) 2
 
+#endif  /* MR_USE_DECLARATIVE_DEBUGGER */
 #endif	/* MERCURY_TRACE_DECLARATIVE_H */
--------------------------------------------------------------------------
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