[m-rev.] diff: .NET backend runtime and library fixes

Tyson Dowd trd at cs.mu.OZ.AU
Thu May 3 00:36:54 AEST 2001


> > Index: library/exception.m
> > ===================================================================
> > RCS file: /home/mercury1/repository/mercury/library/exception.m,v
> > retrieving revision 1.45
> > diff -u -r1.45 exception.m
> > --- library/exception.m	2001/03/15 07:42:21	1.45
> > +++ library/exception.m	2001/05/02 13:28:23
> > @@ -304,21 +304,15 @@
> >  #ifndef ML_DETERMINISM_GUARD
> >  #define ML_DETERMINISM_GUARD
> >  
> > -	/*
> > -	** The enumeration constants in this enum must be in the same
> > -	** order as the functors in the Mercury type `determinism'
> > -	** defined above.
> > -	*/
> > -	typedef enum {
> > -		ML_DET,
> > -		ML_SEMIDET,
> > -		ML_CC_MULTI,
> > -		ML_CC_NONDET,
> > -		ML_MULTI,
> > -		ML_NONDET,
> > -		ML_ERRONEOUS,
> > -		ML_FAILURE
> > -	} ML_Determinism;
> > +#define ML_DET	0
> > +#define	ML_SEMIDET	1
> > +#define	ML_CC_MULTI	2
> > +#define	ML_CC_NONDET	3
> > +#define	ML_MULTI	4
> > +#define	ML_NONDET	5
> > +#define	ML_ERRONEOUS	6
> > +#define	ML_FAILURE	7
> > +
> >  #endif
> >  ").
> >  
> Don't delete the comment, reword it.
> 

Done.


        /*
-       ** The enumeration constants in this enum must be in the same
+       ** The constants in these #defines must be in the same
        ** order as the functors in the Mercury type `determinism'
        ** defined above.
        */


> >  __gc struct MR_MercuryFileStruct {
> >  public:
> >  	System::IO::Stream 	*stream;
> > +	System::IO::TextReader 	*reader;
> > +	System::IO::TextWriter 	*writer;
> >  	int		line_number;
> >  	int		id;
> >  };
> 
> Where are these reader and writer things?

I think you mean "what are" -- I've added a comment and mentioned this
in the log message.

I will commit this stuff now.
 
-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
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