diff: bug fix for type_to_term failure for `char'

Oliver Hutchison ohutch at students.cs.mu.OZ.AU
Mon Jan 26 14:46:41 AEDT 1998


> diff -u -r1.89 mercury_builtin.m
> --- mercury_builtin.m	1998/01/06 07:04:09	1.89
> +++ mercury_builtin.m	1998/01/22 07:04:51
> @@ -551,7 +551,7 @@
>  	(const Word *) & mercury_data___base_type_layout_character_0,
>  	(const Word *) & mercury_data___base_type_functors_character_0,
>  	(const Word *) string_const(""mercury_builtin"", 15),
> -	(const Word *) string_const(""char"", 4)
> +	(const Word *) string_const(""character"", 4)
>  #endif
>  };


Shouldn't that be ->

> +	(const Word *) string_const(""character"", 9)




	Oliver





More information about the developers mailing list