[m-rev.] Extend recognition of field access syntax

Ralph Becket rafe at cs.mu.OZ.AU
Wed Dec 18 14:25:41 AEDT 2002


Peter Moulder, Wednesday, 18 December 2002:
> On Wed, Dec 18, 2002 at 12:30:40PM +1100, Ralph Becket wrote:
> 
> >  @example
> > -:- func increment_field3(type1) = type1.
> > +:- func type1 ~ increment_field3 = type1.
>                 ^^^
> Presumably a typo.  (`~' doesn't occur elsewhere in the patch, and isn't
> mentioned in reference_manual.texi other than as a unary operator.)

Fixed.

> > +++ hard_coded/field_syntax.m
> > ...
> > 	io.format(...)
> 
> I'm guessing this is fine, but just in case, I'll mention that nothing
> in the head brach that I can see uses `.' syntax yet, and using `.'
> hinders bootstrapping.  Just thought I'd mention it.

Er, the main branch already understands `.' as a module separator (I put
that change in last week.)  How would this affect bootstrapping?  The
version of the test suite you use should be matched against the version
of the compiler you are running.

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