[m-dev.] for review: compile in hlc.gc using MSVC

Peter Ross petdr at cs.mu.OZ.AU
Tue Jun 13 22:41:36 AEST 2000


On Tue, Jun 13, 2000 at 10:52:23AM +0200, Peter Ross wrote:
> Fergus wrote:
> > > --- compiler/llds_out.m 2000/05/10 18:06:26 1.143
> > > +++ compiler/llds_out.m 2000/06/07 16:04:10
> > > @@ -31,6 +31,9 @@
> > >  io__state, io__state).
> > >  :- mode output_llds(in, in, in, di, uo) is det.
> > >
> > > +:- pred output_c_file_intro_and_grade(string, string, io__state,
> io__state).
> > > +:- mode output_c_file_intro_and_grade(in, in, di, uo) is det.
> > > +
> > >  % output_rval_decls(Rval, FirstIndent, LaterIndent, N0, N,
> > >  % DeclSet0, DeclSet) outputs the declarations of any static constants,
> > >  % etc. that need to be declared before output_rval(Rval) is called.
> > > @@ -415,9 +418,6 @@
> > >  ;
> > >  io__write_string("#include ""mercury_imp.h""\n")
> > >  ).
> > > -
> > > -:- pred output_c_file_intro_and_grade(string, string, io__state,
> io__state).
> > > -:- mode output_c_file_intro_and_grade(in, in, di, uo) is det.
> > >
> > >  output_c_file_intro_and_grade(SourceFileName, Version) -->
> >
> > If you're exporting that, then you should document it
> > (what it does, and what the parameters are).
> >
> 
> How about
> 
... I finish this bit off.

Outputs a standard header which includes the settings used to generate
the C file.  This is used by configure to check the any existing C files
are consistent with the current configuration.

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