[m-dev.] trivial diff: update list of std library modules
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon May 15 13:32:36 AEST 2000
Estimated hours taken: 0.25
Fix a problem where the list of standard library modules was
not being kept up-to-date.
compiler/modules.m:
Add clauses for `pprint' and `counter' to the
mercury_std_library_module predicate.
library/library.m:
Add a comment mentioning that if you add a new module,
you need to update mercury_std_library_module predicate.
(Also delete an obsolete comment about `mnp').
Workspace: /home/pgrad/fjh/ws/hg
Index: compiler/modules.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/modules.m,v
retrieving revision 1.120
diff -u -d -r1.120 modules.m
--- compiler/modules.m 2000/05/11 03:46:27 1.120
+++ compiler/modules.m 2000/05/15 03:27:47
@@ -505,6 +505,7 @@
mercury_std_library_module("bt_array").
mercury_std_library_module("builtin").
mercury_std_library_module("char").
+mercury_std_library_module("counter").
mercury_std_library_module("dir").
mercury_std_library_module("eqvclass").
mercury_std_library_module("exception").
@@ -525,6 +526,7 @@
mercury_std_library_module("multi_map").
mercury_std_library_module("ops").
mercury_std_library_module("parser").
+mercury_std_library_module("pprint").
mercury_std_library_module("pqueue").
mercury_std_library_module("private_builtin").
mercury_std_library_module("prolog").
Index: library/library.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/library.m,v
retrieving revision 1.48
diff -u -d -r1.48 library.m
--- library/library.m 2000/05/03 09:56:46 1.48
+++ library/library.m 2000/05/15 03:28:57
@@ -7,8 +7,7 @@
% This module imports all the modules in the Mercury library.
%
% It is used as a way for the Makefiles to know which library interface
-% files, objects, etc., need to be installed, and it is also linked to
-% create the executable invoked by the `mnp' script.
+% files, objects, etc., need to be installed.
%
% ---------------------------------------------------------------------------%
% ---------------------------------------------------------------------------%
@@ -22,6 +21,9 @@
%---------------------------------------------------------------------------%
:- implementation.
+
+% Note: if you add a new module to this list, you must also a new clause
+% to mercury_std_library_module/1 in compiler/modules.m.
:- import_module array, assoc_list, bag, benchmarking.
:- import_module bimap, bintree, bintree_set, bool.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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