[m-dev.] rl_exprn doesn't compile without ADITI

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Jun 21 18:43:42 AEST 1999


If you try to compile the current cvs sources of the compiler without
INCLUDE_ADITI_OUTPUT set, then you get the following error:

rl_exprn.m:069: In definition of predicate `rl_exprn:generate'/6:
rl_exprn.m:069:   error: undefined type `exprn_mode'/0.

The following patch works around the problem, but I suspect that it is
probably not the best solution.

Simon, could you please fix this one?

Index: rl_file.pp
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/rl_file.pp,v
retrieving revision 1.1
diff -u -u -r1.1 rl_file.pp
--- rl_file.pp	1999/04/28 01:18:41	1.1
+++ rl_file.pp	1999/06/21 08:39:50
@@ -112,6 +112,7 @@
 :- import_module std_util.
 
 :- type rl_file == unit.
+:- type exprn_mode == unit.
 #endif
 %-----------------------------------------------------------------------------%
 :- implementation.

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