[gtk-doc] mkdb: don't include trailing .: in symbolname when expanding abbreviations



commit 6483e21d7928ab81898a7e96d7ccbf152127499d
Author: Stefan Kost <ensonic users sf net>
Date:   Fri May 22 12:06:36 2009 +0300

    mkdb: don't include trailing .: in symbolname when expanding abbreviations
---
 gtkdoc-mkdb.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index 8f863fc..4959cd6 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -2436,7 +2436,7 @@ sub ExpandAbbreviationsCallback {
     $text =~ s/\\\%/\%/g;
 
     # Convert '#symbol', but not '\#symbol'.
-    $text =~ s/(\A|[^\\])#([\w\-:\.]+)/$1.&MakeHashXRef($2, "type");/eg;
+    $text =~ s/(\A|[^\\])#([\w\-:\.]+[\w]+)/$1.&MakeHashXRef($2, "type");/eg;
     $text =~ s/\\#/#/g;
     
     # Expand urls



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