[m-rev.] for review: hiding events introduced by tabling

Mark Brown dougl at cs.mu.OZ.AU
Mon Sep 9 16:07:50 AEST 2002


On 02-Sep-2002, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> This is the third diff I have posted today that affects debugger test case
> expected outputs.

> doc/user_guide.texi:
> 	Doument the unhide_events command.

s/Doument/Document/

> Index: trace/mercury_trace_internal.c
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_internal.c,v
> retrieving revision 1.133
> diff -u -b -r1.133 mercury_trace_internal.c
> --- trace/mercury_trace_internal.c	2002/08/07 03:18:57	1.133
> +++ trace/mercury_trace_internal.c	2002/09/01 16:35:38
> @@ -3309,13 +3312,36 @@
>  		MR_print_optionals = MR_TRUE;
>  		MR_trace_set_level(MR_trace_current_level(),
>  			MR_print_optionals);
> -	} else if (word_count != 1)  {
> +	} else if (word_count == 1)  {
> +		fprintf(MR_mdb_out,
> +			"optional values are %s being printed\n",
> +			MR_print_optionals? "" : "not");

The output will have two spaces between "are" and "being", if optionals
are being printed.

Other than that, this change is fine.

Cheers,
Mark.

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