[m-dev.] diff: MLDS back-end: misc bug fixes

Fergus Henderson fjh at cs.mu.OZ.AU
Tue May 2 14:22:22 AEST 2000


On 02-May-2000, Robert Ernst Johann JESCHOFNIK <rejj at students.cs.mu.oz.au> wrote:
> On Tue, 2 May 2000, Fergus Henderson wrote:
> 
> > compiler/mlds_to_c.m:
> > 	- Use llds_out__sym_name_mangle rather than prog_out__write_sym
> > 	  to write out module names, since the latter was doing the wrong
> > 	  thing for nested modules.
...
> Is it a good idea to have the MLDS depending on the LLDS? I thought the
> idea was to make them entirely seperate... (I have no idea on if there are
> any such dependencies allready). Perhaps it would be a good idea to move
> this into a different module that both import?

Yes, that is a good idea.  I was aware of that issue, but chose to leave
it for a separate change, since there are already many dependencies
on llds_out__name_mangle and llds_out__sym_name_mangle in mlds_to_c.m
and other places that should not depend on llds.  I should have made
this clearer in my log message.

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