[m-rev.] for review: multiple foreign language support

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Aug 5 16:31:37 AEST 2001


I've fixed these.

On 24-Jul-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 18-Jul-2001, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> > Support multiple language foreign_proc in the one file.
> ...
> > diff -u -r1.375 make_hlds.m
> > --- compiler/make_hlds.m	2001/07/07 09:05:19	1.375
> > +++ compiler/make_hlds.m	2001/07/17 16:51:31
> > @@ -5232,24 +5233,102 @@
> > +		% Find all the exising clauses for this mode, and
> 
> s/exising/existing/
> 
> > Index: compiler/mlds_to_gcc.m
> >  mlds_to_gcc__compile_to_asm(MLDS, ContainsCCode) -->
> > -	{ MLDS = mlds(ModuleName, ForeignCode, Imports, Defns0) },
> > +	{ MLDS = mlds(ModuleName, AllForeignCode, Imports, Defns0) },
> >  
> > +		% We only handle C currently, so we just look up C
> > +	{ ForeignCode = map__lookup(AllForeignCode, c) },
> > +
> >  	%
> >  	% Handle output of any foreign code (C, Ada, Fortran, etc.)
> >  	% to appropriate files.
> 
> The line you've added should go below the block comment that follows it,
> since it is logically part of the code to handle output of foreign code.

-- 
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-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list