[m-rev.] diff: rearrange compiler code

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Mar 18 16:34:04 AEDT 2002


On 18-Mar-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> Index: compile_target_code.m
...
> +	% il_assemble(ErrorStream, MCPPFile, DLLFile, HasMain, Succeeded).
> +:- pred compile_managed_cplusplus_file(io__output_stream,
> +		file_name, file_name, bool, io__state, io__state).
> +:- mode compile_managed_cplusplus_file(in, in, in, out, di, uo) is det.
> +
> +	% il_assemble(ErrorStream, C#File, DLLFile, HasMain, Succeeded).
> +:- pred compile_csharp_file(io__output_stream, file_name, file_name,
> +		bool, io__state, io__state).
> +:- mode compile_csharp_file(in, in, in, out, di, uo) is det.

Those two comments are wrong: the name `il_assemble' is incorrect,
and I don't think these procedures have a `HasMain' parameter.

Otherwise that change looks fine.

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