[m-dev.] for scathing review: add ++ operator

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Aug 4 19:33:49 AEST 2000


On 04-Aug-2000, Michael Day <mcda at students.cs.mu.oz.au> wrote:
> 
> Is this sufficient to get support for the ++ operator? It seems to work
> for me, in that I can compile programs using it, but I've probably mixed
> up the associativity and precedence.

That looks OK, but you should also modify the mercury_infix_op
predicate in compiler/mercury_to_mercury.m.  and the list of operators
in doc/transition_guide.texi.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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