[m-dev.] for review: Java backend
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Mar 1 21:41:26 AEDT 2001
On 01-Mar-2001, Julien Fischer <juliensf at students.cs.mu.oz.au> wrote:
> +++ compiler/mlds_to_java.m
> @@ -184,27 +185,19 @@
> % Succeeds iff the Rval represents an enumeration
> % object in the Java backend. We need to check both Rval's
> % that are variables and Rval's that are casts.
> - % We need to know this in order to append the a field name
> - % to to object so we can access the value of the enumeration object.
> - %
> - % XXX Perhaps we need to do this for other unop's?
> + % We need to know this in order to append the field name
> + % to object so we can access the value of the enumeration object.
s/to object/the object/
> @@ -218,12 +211,13 @@
...
> % This is need as Java compilers don't take too well to compiling
s/need/needed/
> -% classes named char, int, float etc.
> +% classes named `char',`int', `float' etc.
> % XXX It might be nice if the name mangling code was taken out of which
> % ever LLDS module it's hiding in and put in a seperate one.
> %
> @@ -319,7 +313,7 @@
> { MLDS_ModuleName = mercury_module_name_to_mlds(ModuleName) },
> { Defns1 = Defns0 },
> % XXX The code to transform special precdicates isn't working yet.
s/precdicates/predicates/
Otherwise, that looks fine.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- 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