[m-rev.] trivial diff: fix failure of mmc_make/complex_test

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Sep 11 16:31:52 AEST 2006


Estimated hours taken: 0.1
Branches: main, release

tests/mmc_make/complex_test.m:
tests/mmc_make/lib/complex.m:
 	Replace uses of ':' as a module qualifier.

Julien.

Index: complex_test.m
===================================================================
RCS file: /home/mercury/mercury1/repository/tests/mmc_make/complex_test.m,v
retrieving revision 1.1
diff -u -r1.1 complex_test.m
--- complex_test.m	23 Jan 2003 00:24:17 -0000	1.1
+++ complex_test.m	11 Sep 2006 06:24:39 -0000
@@ -9,9 +9,9 @@
  :- implementation.
  :- import_module float.
  :- import_module complex_numbers.
-:- import_module complex_numbers:complex, complex_numbers:imag.
-:- import_module complex_numbers:complex_imag, complex_numbers:imag_complex.
-:- import_module complex_numbers:float_imag, complex_numbers:imag_float.
+:- import_module complex_numbers.complex, complex_numbers.imag.
+:- import_module complex_numbers.complex_imag, complex_numbers.imag_complex.
+:- import_module complex_numbers.float_imag, complex_numbers.imag_float.

  main -->
  	print("tests of (complex op complex)"), nl,
Index: lib/complex.m
===================================================================
RCS file: /home/mercury/mercury1/repository/tests/mmc_make/lib/complex.m,v
retrieving revision 1.1
diff -u -r1.1 complex.m
--- lib/complex.m	23 Jan 2003 00:24:19 -0000	1.1
+++ lib/complex.m	11 Sep 2006 06:25:23 -0000
@@ -19,7 +19,7 @@
  %
  %---------------------------------------------------------------------------%

-:- module complex_numbers:complex.
+:- module complex_numbers.complex.
  :- interface.

  :- type complex ---> cmplx(float, float).	% real part, imag part

--------------------------------------------------------------------------
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