[m-dev.] for review: fix MLDS bootstrapping problems

Peter Ross peter.ross at miscrit.be
Fri Nov 3 23:44:01 AEDT 2000


On Fri, Nov 03, 2000 at 01:04:43PM +0100, Peter Ross wrote:
> On Fri, Nov 03, 2000 at 04:27:34AM +1100, Fergus Henderson wrote:
> > Pete, can you please review this one?
> > 
> > Index: runtime/mercury.h
> > ===================================================================
> > RCS file: /home/mercury1/repository/mercury/runtime/mercury.h,v
> > retrieving revision 1.22
> > diff -u -d -r1.22 mercury.h
> > --- runtime/mercury.h	2000/10/23 15:08:31	1.22
> > +++ runtime/mercury.h	2000/11/02 15:28:38
> > @@ -137,14 +137,10 @@
> >  ** are defined here.
> >  */
> >  typedef struct MR_TypeCtorInfo_Struct	MR_TypeCtorInfo_Struct;
> > -typedef MR_DuExistLocn			MR_DuExistLocnArray[];
> > -typedef MR_ConstString			MR_ConstStringArray[];
> > -typedef MR_PseudoTypeInfo		MR_PseudoTypeInfoArray[];
> > -typedef const MR_EnumFunctorDesc *	MR_EnumFunctorDescPtrArray[];
> > -typedef const MR_DuFunctorDesc *	MR_DuFunctorDescPtrArray[];
> > -typedef MR_DuPtagLayout			MR_DuPtagLayoutArray[];
> > -typedef union MR_TableNode_Union * *	MR_TableNodePtrPtr[];
> > -typedef MR_Box				MR_BaseTypeclassInfo[];
> > +typedef const MR_EnumFunctorDesc *	MR_EnumFunctorDescPtr;
> > +typedef const MR_DuFunctorDesc *	MR_DuFunctorDescPtr;
> > +typedef union MR_TableNode_Union * *	MR_TableNodePtrPtr;
> > +typedef MR_Box				MR_BaseTypeclassInfo;
> >  
> >  /*
> >  ** XXX Currently we hard-code the declarations of the first
> > 
> I think that you need to keep the old typedefs until this change
> bootstraps as the old compiler still generates references to
> MR_DuExistLocnArray and others.
> 
I have applied this patch to my source and am making the required
changes the problems with MR_BaseTypeclassInfo has a new typedef.  I
will check it in when it bootstraps.
--------------------------------------------------------------------------
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