[m-rev.] for review: automatic_include declaration
Simon Taylor
stayl at cs.mu.OZ.AU
Sat Nov 17 02:17:26 AEDT 2001
On 16-Nov-2001, Peter Ross <peter.ross at miscrit.be> wrote:
> Estimated hours taken: 4
> Branches: main
>
> Add the `:- automatic_include' declaration.
>
> This declaration allows one to automatically import a sub-module when
> the parent module is imported.
I think `:- automatic_import' would be a better name.
> compiler/modules.m:
> When reading in short and long interfaces recursively read in any
> modules specified by an `:- automatic_include' declaration.
> Check that any `:- automatic_include' declaration in the interface
> refers to an existing visible sub-module.
You haven't fixed `mmc --generate-dependencies' to handle the extra
dependencies on `.int' files.
I haven't really reviewed the rest of it.
Simon.
--------------------------------------------------------------------------
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