[m-rev.] diff: rearrange compiler code
Simon Taylor
stayl at cs.mu.OZ.AU
Mon Mar 18 19:28:04 AEDT 2002
On 18-Mar-2002, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> 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.
Index: compile_target_code.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/compile_target_code.m,v
retrieving revision 1.2
diff -u -u -r1.2 compile_target_code.m
--- compile_target_code.m 18 Mar 2002 04:44:09 -0000 1.2
+++ compile_target_code.m 18 Mar 2002 07:40:13 -0000
@@ -45,12 +45,13 @@
has_main, bool, io__state, io__state).
:- mode il_assemble(in, in, in, in, out, di, uo) is det.
- % il_assemble(ErrorStream, MCPPFile, DLLFile, HasMain, Succeeded).
+ % compile_managed_cplusplus_file(ErrorStream,
+ % MCPPFile, DLLFile, 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).
+ % compile_csharp_file(ErrorStream, C#File, DLLFile, 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.
--------------------------------------------------------------------------
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