[gtk-doc] scan: put TITLE after FILE and before any symbols.
- From: Stefan Kost <stefkost src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk-doc] scan: put TITLE after FILE and before any symbols.
- Date: Sat, 26 Dec 2009 20:26:35 +0000 (UTC)
commit 30dc497fcd7cb1b2c4443bc24984707aa876b004
Author: Stefan Kost <ensonic users sf net>
Date: Sat Dec 26 22:23:26 2009 +0200
scan: put TITLE after FILE and before any symbols.
gtkdoc-scan.in | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gtkdoc-scan.in b/gtkdoc-scan.in
index 87a73fe..849e80d 100755
--- a/gtkdoc-scan.in
+++ b/gtkdoc-scan.in
@@ -665,9 +665,11 @@ sub ScanHeader {
}
if ($symbol =~ m/^(\S+)(Class|Iface|Interface)\b/) {
+ my $objectname = $1;
#print "Found object: $1\n";
- $list .= "<TITLE>$1</TITLE>\n$1\n";
- push (@objects, $1);
+ $list = "<TITLE>$objectname</TITLE>\n$list";
+ $list .= "$objectname\n";
+ push (@objects, $objectname);
}
#print "Store struct: $symbol\n";
&AddSymbolToList (\$list, $symbol);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]