[m-dev.] diff: minor fixes to the trace dir in hlc.gc grade

Peter Ross peter.ross at miscrit.be
Fri Jan 12 01:37:13 AEDT 2001


Hi,


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


Estimated hours taken: 0.25

Allow the trace directory to compile in the hlc grade, without it
complaining about missing header files.

mercury_trace_declarative.c:
mercury_trace_external.c:
mercury_trace_internal.c:
    Change all references to "std_util.h" to "mercury.std_util.h".


Index: mercury_trace_declarative.c
===================================================================
RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_declarative.c,v
retrieving revision 1.37
diff -u -r1.37 mercury_trace_declarative.c
--- mercury_trace_declarative.c	2001/01/09 23:30:25	1.37
+++ mercury_trace_declarative.c	2001/01/11 14:33:46
@@ -29,7 +29,6 @@
 
 #include "mercury_imp.h"
 #include "mercury_trace_declarative.h"
-#include "std_util.h"
 
 #ifdef MR_USE_DECLARATIVE_DEBUGGER
 
@@ -48,11 +47,7 @@
 
 #include "mdb.declarative_debugger.h"
 #include "mdb.declarative_execution.h"
-#ifdef MR_HIGHLEVEL_CODE
-  #include "mercury.std_util.h"
-#else
-  #include "std_util.h"
-#endif
+#include "mercury.std_util.h"
 
 #include <errno.h>
 
Index: mercury_trace_external.c
===================================================================
RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_external.c,v
retrieving revision 1.50
diff -u -r1.50 mercury_trace_external.c
--- mercury_trace_external.c	2001/01/09 23:30:26	1.50
+++ mercury_trace_external.c	2001/01/11 14:33:47
@@ -20,7 +20,6 @@
 */
 
 #include "mercury_imp.h"
-#include "std_util.h"
 
 #ifdef MR_USE_EXTERNAL_DEBUGGER
 
@@ -32,11 +31,7 @@
 
 #include "mdb.debugger_interface.h"
 #include "mdb.collect_lib.h"
-#ifdef MR_HIGHLEVEL_CODE
-  #include "mercury.std_util.h"
-#else
-  #include "std_util.h"
-#endif
+#include "mercury.std_util.h"
 
 #include "mercury_deep_copy.h"
 
Index: mercury_trace_internal.c
===================================================================
RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_internal.c,v
retrieving revision 1.93
diff -u -r1.93 mercury_trace_internal.c
--- mercury_trace_internal.c	2001/01/09 23:30:26	1.93
+++ mercury_trace_internal.c	2001/01/11 14:33:49
@@ -27,7 +27,7 @@
 #include "mercury_trace_vars.h"
 #include "mercury_trace_readline.h"
 
-#include "std_util.h"
+#include "mercury.std_util.h"
 #include "mdb.browse.h"
 #include "mdb.program_representation.h"
 

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list