[m-dev.] trivial diff: missing import

David Glen JEFFERY dgj at students.cs.mu.oz.au
Wed Jan 17 17:35:29 AEDT 2001


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

Estimated hours taken: 0.1

compiler/maybe_mlds_to_gcc.pp:
	Add a missing import of the `string' module to define the `++'
	operator. This only causes an error when the gcc
	backend is not included.

===================================================================
Index: maybe_mlds_to_gcc.pp
===================================================================
RCS file: /home/staff/zs/imp/mercury/compiler/maybe_mlds_to_gcc.pp,v
retrieving revision 1.2
diff -u -t -r1.2 maybe_mlds_to_gcc.pp
--- maybe_mlds_to_gcc.pp	2001/01/17 02:43:07	1.2
+++ maybe_mlds_to_gcc.pp	2001/01/17 05:48:53
@@ -41,7 +41,7 @@
 
 #else
 
-:- import_module passes_aux.
+:- import_module passes_aux, string.
 
 maybe_mlds_to_gcc__compile_to_asm(_MLDS, no) -->
         report_error(


dgj
-- 
David Jeffery (dgj at cs.mu.oz.au) | If your thesis is utterly vacuous
PhD student,                    | Use first-order predicate calculus.
Dept. of Comp. Sci. & Soft. Eng.|     With sufficient formality
The University of Melbourne     |     The sheerist banality
Australia                       | Will be hailed by the critics: "Miraculous!"
                                |     -- Anon.
--------------------------------------------------------------------------
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