[commit: ghc] master: MkIface: Mention that #include now adds dependent files (057628e)

git at git.haskell.org git at git.haskell.org
Thu Aug 22 23:25:38 CEST 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/057628e016f38f9ed882cf950554ceed795d1d58/ghc

>---------------------------------------------------------------

commit 057628e016f38f9ed882cf950554ceed795d1d58
Author: Niklas Hambüchen <mail at nh2.me>
Date:   Tue Aug 20 16:58:04 2013 +0900

    MkIface: Mention that #include now adds dependent files
    
    Signed-off-by: Austin Seipp <aseipp at pobox.com>


>---------------------------------------------------------------

057628e016f38f9ed882cf950554ceed795d1d58
 compiler/iface/MkIface.lhs |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/compiler/iface/MkIface.lhs b/compiler/iface/MkIface.lhs
index 94c5264..4182229 100644
--- a/compiler/iface/MkIface.lhs
+++ b/compiler/iface/MkIface.lhs
@@ -47,8 +47,10 @@ Basic idea:
     of the external reference when computing the fingerprint of A.f.  So
     if anything that A.f depends on changes, then A.f's fingerprint will
     change.
-    Also record any dependent files added with addDependentFile.
-    In the future record any #include usages.
+    Also record any dependent files added with
+      * addDependentFile
+      * #include
+      * -optP-include
 
   * In checkOldIface we compare the mi_usages for the module with
     the actual fingerprint for all each thing recorded in mi_usages





More information about the ghc-commits mailing list