[m-dev.] cvs diff: bugfix: outputting 0 arity pred/func insts to `.int' files

Fergus Henderson fjh at cs.mu.oz.au
Fri Sep 5 21:49:49 AEST 1997


David Matthew OVERTON, you wrote:
> Fix a couple of bugs with outputting 0 arity pred and func insts.
> 
> compiler/mercury_to_mercury.m:
>         Predicate `mercury_output_inst' was incorrectly outputting
> 	code to the `.int' file for 
> 		:- inst foo = ((func) = out is Det).
> 	and
> 		:- inst bar = ((pred) is Det).
> 	The incorrect `.int' file generated a syntax error when read
> 	back in by the compiler.

That change looks fine, please commit it.

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



More information about the developers mailing list