[mercury-users] target specific variables

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Mar 12 19:09:20 AEDT 2002


On 12-Mar-2002, Michael Day <mikeday at bigpond.net.au> wrote:
> 
> > If you are asking about how to specify different options for
> > separate sub-modules, the syntax to set the options for a module
> > named `foo__bar' is as follows:
> > 
> > 	MCFLAGS-foo.bar = --no-warn-det-decls-too-lax
> 
> Hmm that's what I meant and what I tried, however I did have the file just 
> called bar, rather than foo.bar. Would that be the problem?

It should work correctly in that case too, provided you use the full name
(`foo.bar') in the variable definition.  I tried a couple of tests and
it seemed to work fine for me.  If it doesn't work for you, please file
a bug report.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list