[m-rev.] for review: initialisers and uncaught exceptions

Mark Brown mark at csse.unimelb.edu.au
Thu Feb 8 00:28:36 AEDT 2007


On 08-Feb-2007, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
> +# init_excp.out is expected to fail (it calls throw/1).
> +#
> +init_excp.out: init_excp
> +	if ./init_excp > $@.tmp 2>&1; then \
> +		grep  . $@.tmp; \

What does this do (apart from remove empty lines)?  Same question applies
to the already existing no_fully_strict test.

> +		exit 1; \
> +	else \
> +		cat $@.tmp > $@; \
> +		rm -f $@.tmp; \
> +	fi

What happens in grades where stack dumps are available?  You may need to
filter out line numbers from exception.m.

Cheers,
Mark.

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list