[gtk-doc] scan: add one more trace statement



commit f07b3d5a068efaa574564cce6c7f6c41c1d2e465
Author: Stefan Kost <ensonic users sf net>
Date:   Tue Apr 5 09:58:51 2011 +0300

    scan: add one more trace statement

 gtkdoc-scan.in |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc-scan.in b/gtkdoc-scan.in
index 4304210..d9942d8 100755
--- a/gtkdoc-scan.in
+++ b/gtkdoc-scan.in
@@ -287,7 +287,10 @@ sub ScanHeader {
 
     # Don't scan headers twice
     my $canonical_input_file = realpath $input_file;
-    return if exists $seen_headers{$canonical_input_file};
+    if (exists $seen_headers{$canonical_input_file}) {
+        @TRACE@("File already scanned: $input_file");
+        return;
+    }
     $seen_headers{$canonical_input_file} = 1;
 
     if ($input_file =~ m/^.*[\/\\](.*)\.h+$/) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]