[m-rev.] for review: automatic_include declaration
Peter Ross
peter.ross at miscrit.be
Sat Nov 17 01:54:10 AEDT 2001
On Fri, Nov 16, 2001 at 03:05:06PM +0100, Peter Ross wrote:
> Index: compiler/modules.m
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/compiler/modules.m,v
> retrieving revision 1.205
> diff -u -r1.205 modules.m
> --- compiler/modules.m 15 Nov 2001 16:02:14 -0000 1.205
> +++ compiler/modules.m 16 Nov 2001 13:47:48 -0000
> @@ -2043,19 +2043,35 @@
> "endif"
> ]),
>
> + % The .date and .date0 files depend on the .int0 files
> + % for the parent modules, and the .int3 files for the
> + % directly and indirectly imported modules.
> + %
> + % For nested sub-modules, the `.date' files for the
> + % parent modules also depend on the same things as the
> + % `.date' files for this module, since all the `.date'
> + % files will get produced by a single mmc command.
> + % XXX The same is true for the `.date0' files, but
> + % including those dependencies here might result in
> + % cyclic dependencies(?).
> +
> module_name_to_file_name(ModuleName, ".date", no,
> DateFileName),
> module_name_to_file_name(ModuleName, ".date0", no,
> Date0FileName),
> io__write_strings(DepStream, [
> "\n\n", DateFileName, " ",
> - Date0FileName, " : ",
> + Date0FileName
> + ]),
> + write_dependencies_list(ParentDeps, ".date", DepStream),
> + io__write_strings(DepStream, [
> + " : ",
> SourceFileName
> ]),
> write_dependencies_list(ParentDeps, ".int0", DepStream),
> write_dependencies_list(LongDeps, ".int3", DepStream),
> write_dependencies_list(ShortDeps, ".int3", DepStream),
> -
> +
> module_name_to_file_name(ModuleName, ".dir", no, DirFileName),
> module_name_to_split_c_file_name(ModuleName, 0, ".$O",
> SplitCObj0FileName),
Woops this section is not meant to be in the diff. I was just testing
fjhs latest change on my machine.
Pete
--------------------------------------------------------------------------
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