[m-dev.] diff: use_module

Fergus Henderson fjh at cs.mu.oz.au
Sun Jun 29 18:09:32 AEST 1997


Simon TAYLOR, you wrote:
> --- prog_data.m	1997/06/27 04:01:36	1.19
> +++ prog_data.m	1997/06/28 04:50:33
> @@ -356,12 +356,17 @@
>  			;	imported
>  				% this is used internally by the compiler,
>  				% to identify declarations which originally
> -				% came from some other module
> +				% came from some other module.
> +			;	used
> +				% this is used internally by the compiler,
> +				% to identify declarations which originally
> +				% came from some other module and for which
> +				% all uses must be module qualified.

I think it would be a good idea to add a bit to those comments: "... came
from some other module imported with a `:- import_module' declaration"
and "... came from some other module imported with a `:- use_module'
declaration ...".

Apart from that, that change looks fine, so once you've made that change,
please commit it.

Thanks again.

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