[m-rev.] diff: fix compilation of compiler non-C grades
Julien Fischer
juliensf at csse.unimelb.edu.au
Sat Jan 29 18:23:51 AEDT 2011
compiler/md4.m:
compiler/process_util.m:
Undo zs's deletion of module imports required by the non-C backends.
Julien.
Index: md4.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/compiler/md4.m,v
retrieving revision 1.5
diff -u -r1.5 md4.m
--- md4.m 27 Jan 2011 08:03:52 -0000 1.5
+++ md4.m 29 Jan 2011 07:21:37 -0000
@@ -41,6 +41,8 @@
:- implementation.
+:- import_module require. % Required by non-C grades.
+
%-----------------------------------------------------------------------------%
:- pragma foreign_decl("C", "local", "
Index: process_util.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/compiler/process_util.m,v
retrieving revision 1.35
diff -u -r1.35 process_util.m
--- process_util.m 27 Jan 2011 08:03:52 -0000 1.35
+++ process_util.m 29 Jan 2011 07:21:37 -0000
@@ -123,6 +123,8 @@
:- implementation.
+:- import_module require. % Required by non-C grades.
+
%-----------------------------------------------------------------------------%
build_with_check_for_interrupt(VeryVerbose, Build, Cleanup, Succeeded,
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list