[gtk-doc] fixxref: turn commented code into a trace log
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] fixxref: turn commented code into a trace log
- Date: Tue, 31 May 2016 19:06:46 +0000 (UTC)
commit e29f953e1cff4cc6fecf304e58f382561999937e
Author: Stefan Sauer <ensonic users sf net>
Date: Tue May 31 21:06:15 2016 +0200
fixxref: turn commented code into a trace log
gtkdoc-fixxref.in | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtkdoc-fixxref.in b/gtkdoc-fixxref.in
index 74529d2..fc4b25c 100755
--- a/gtkdoc-fixxref.in
+++ b/gtkdoc-fixxref.in
@@ -368,9 +368,9 @@ sub FixHTMLFile {
my @lines = split(/\n/, $entire_file);
for (my $i=0; $i<$#lines; $i++) {
$lines[$i] =~ s%<GTKDOCLINK\s+HREF="([^"]*)"\s*>(.*?)</GTKDOCLINK\s*>% &MakeXRef($file,$i+1,$1,$2);
%ge;
- #if ($lines[$i] =~ m/GTKDOCLINK/) {
- # print "make xref failed for line: ",$lines[$i], "\n";
- #}
+ if ($lines[$i] =~ m/GTKDOCLINK/) {
+ @TRACE@("make xref failed for line: ".$lines[$i]);
+ }
}
$entire_file = join("\n",@lines);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]