[m-dev.] diff: assorted changes to extras/aditi

Fergus Henderson fjh at cs.mu.OZ.AU
Sat May 27 00:29:07 AEST 2000


On 26-May-2000, Simon TAYLOR <stayl at cs.mu.OZ.AU> wrote:
> extras/aditi/Mmakefile:
> 	Don't attempt to install `hlc.*' grades.
...
>  # The Aditi interface only works with conservative garbage collection.
> +# It doesn't yet work with the new high level C code grade.
>  # This is equivalent to
>  # LIBGRADES-aditi = $(filter %.gc%,$(LIBGRADES))
>  # but gmake patterns can't include multiple wildcards.
> -LIBGRADES-aditi = $(shell echo $(LIBGRADES) | tr ' ' '\n' | grep '.gc')
> +LIBGRADES-aditi = \
> +	$(shell echo $(LIBGRADES) | tr ' ' '\n' | grep '.gc' | grep -v 'hlc')

The comment above this is now out-of-date.

You should check for `hl' rather than `hlc'.  The `hlc' grade means
`--high-level-code', while the `hl' grade means `--high-level-code
--high-level-data'.  The `--high-level-data' option is not yet
supported, but I plan to add support for it in the very near future.

> +++ aditi.m	2000/05/26 08:18:33
...
>  	/* Unpack the output tuple into r1 and upwards. */
>  	if (!MADITI_get_output_tuple(1)) {
> -		MR_fatal_error(""no solution for det Aditi call"");
> +		fatal_error(""no solution for det Aditi call"");

That change looks like a CVS merge error.

Apart from that, this change looks fine.

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